commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Murdoch <adammurd...@apache.org>
Subject Re: Commons VFS - FTP provider reports "invalid descendent" on getChildren()
Date Tue, 29 Apr 2003 01:30:20 GMT
On Thu, 24 Apr 2003 01:55 am, Steven Dickson wrote:
> I'm having a problem with the getChildren() method on FTP FileObjects. 
> It's throwing an "Invalid descendent file name "."." exception on an FTP
> file system folder.  The FTP folder was created by and works properly with
> FTP clients.

I'm guessing that the ftp server you are using is returning '.' and '..' as 
part of a directory listing, and FTPFileObject is choking on them.  I've just 
fixed FTPFileObject to ignore these.  Could you give this a try and see if it 
fixes the problem.

btw, which FTP server are you using?

-- 
Adam

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


Mime
View raw message