commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: [VFS] Invalid descendent file name "$SYSNAME/dev".
Date Fri, 09 Apr 2010 19:58:38 GMT
So it looks like you are using VFS 1.0. Unfortunately, I've only been working on 2.0 on trunk.
There hasn't been a release of 2.0 yet but you you might want to try building it and seeing
if it helps. I know there have been lots of patches since 1.0.

Ralph

On Apr 9, 2010, at 1:44 AM, mayur malpani wrote:

> Hi ,
> 
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.5.3
> Created-By: Apache Maven
> Built-By: im
> Package: org.apache.commons.vfs
> Build-Jdk: 1.4.2_07
> Extension-Name: commons-vfs
> Specification-Title: Commons VFS
> Specification-Vendor: The Apache Software Foundation
> Implementation-Title: org.apache.commons.vfs
> Implementation-Vendor: The Apache Software Foundation
> Implementation-Version: 1.0
> Implementation-Vendor-Id: org.apache
> X-Compile-Source-JDK: 1.3
> X-Compile-Target-JDK: 1.3
> 
> *Please let me know if this helps. ?*
> 
> 
> Mayur.
> 
> On Fri, Apr 9, 2010 at 1:27 PM, Ralph Goers <ralph.goers@dslextreme.com>wrote:
> 
>> What version of VFS are you using? The source line numbers below don't
>> match what is in trunk.
>> 
>> 
>> On Apr 9, 2010, at 12:26 AM, mayur malpani wrote:
>> 
>>> Hi ,
>>>    I am getting an exception saying invalid descendent name while
>>> traversing in a FTP server when trying to use the following code.
>>> 
>>> 
>>> manager.resolveFile("ftp://<user-name>:<password>@<server-name>:21/"
>>> ,options).findFiles(*new* AllFileSelector(),*true*,list);
>>> 
>>> also tried
>>> 
>>> manager.resolveFile("ftp://<user-name>:<password>@<server-name>:21/"
>>> ,options).findFiles(*new* AllFileSelector(),*false*,list);
>>> 
>>> 
>>> 
>>> getting the following exception
>>> 
>>> 
>>> 
>>> org.apache.commons.vfs.FileSystemException: Could not find files in
>> "ftp://
>>> <user-name>:<password>@<server-name>:21/<ftp://
>> <user-name>:<password>@<server-name>/>
>>> ".
>>> at
>>> 
>> org.apache.commons.vfs.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1478)
>>> at testMF.main(testMF.java:122)
>>> Caused by: org.apache.commons.vfs.FileSystemException: Invalid descendent
>>> file name "*$SYSNAME/dev*".
>>> at
>>> 
>> org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:738)
>>> at
>>> 
>> org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:583)
>>> at
>>> 
>> org.apache.commons.vfs.provider.AbstractFileObject.traverse(AbstractFileObject.java:1502)
>>> at
>>> 
>> org.apache.commons.vfs.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1473)
>>> ... 1 more
>>> 
>>> Can some one please help me out with this ?
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Thanks,
>>> 
>>> Mayur
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>> 
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message