Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 11739 invoked from network); 29 Apr 2003 01:59:10 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 29 Apr 2003 01:59:10 -0000 Received: (qmail 2753 invoked by uid 97); 29 Apr 2003 02:01:17 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 2746 invoked from network); 29 Apr 2003 02:01:17 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 29 Apr 2003 02:01:17 -0000 Received: (qmail 11549 invoked by uid 500); 29 Apr 2003 01:59:08 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 11522 invoked from network); 29 Apr 2003 01:59:08 -0000 Received: from mail024.syd.optusnet.com.au (210.49.20.148) by daedalus.apache.org with SMTP; 29 Apr 2003 01:59:08 -0000 Received: from 192.168.0.14 (c17021.rochd3.qld.optusnet.com.au [211.28.126.134]) by mail024.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id h3T1xGt25864 for ; Tue, 29 Apr 2003 11:59:16 +1000 From: Adam Murdoch To: "Jakarta Commons Developers List" Subject: Re: Commons VFS - FTP provider reports "invalid descendent" on getChildren() Date: Tue, 29 Apr 2003 11:30:20 +1000 User-Agent: KMail/1.5.1 References: <2A79428F2BC8AA4790B5A18FA9C5FA6F19BEDE@MI8NYCMAIL01.Mi8.com> In-Reply-To: <2A79428F2BC8AA4790B5A18FA9C5FA6F19BEDE@MI8NYCMAIL01.Mi8.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304291130.20681.adammurdoch@apache.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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