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 07:57:45 GMT
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


Mime
View raw message