From commons-user-return-14497-apmail-jakarta-commons-user-archive=jakarta.apache.org@jakarta.apache.org Tue Dec 06 04:58:53 2005 Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 76897 invoked from network); 6 Dec 2005 04:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Dec 2005 04:58:53 -0000 Received: (qmail 38463 invoked by uid 500); 6 Dec 2005 04:58:45 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 38408 invoked by uid 500); 6 Dec 2005 04:58:45 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 16302 invoked by uid 99); 6 Dec 2005 00:58:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Date: Tue, 06 Dec 2005 11:47:16 +1100 From: Andrew Barnes Subject: [vfs] FTP problems To: commons-user@jakarta.apache.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Entourage/11.0.0.040405 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi I'm trying to use commons-vfs-1.0-RC6 to list files in a directory on an FTP server. The directory exists and has files in it, but when I do a getType() on the FileObject, it comes back as a file type rather that a folder type, which doesn't allow me to list the files. The directory is setup as a virtual directory under the default FTP site on a Windows box. I'm not sure why this is not working, any help would be greatly appreciated Regards Andy Barnes --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org