Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 41186 invoked from network); 23 Mar 2004 22:20:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Mar 2004 22:20:57 -0000 Received: (qmail 62502 invoked by uid 500); 23 Mar 2004 22:20:40 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 62391 invoked by uid 500); 23 Mar 2004 22:20:38 -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 62369 invoked from network); 23 Mar 2004 22:20:38 -0000 Received: from unknown (HELO hotmail.com) (65.54.245.77) by daedalus.apache.org with SMTP; 23 Mar 2004 22:20:38 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 23 Mar 2004 14:20:45 -0800 Received: from 213.140.6.107 by by1fd.bay1.hotmail.msn.com with HTTP; Tue, 23 Mar 2004 22:20:45 GMT X-Originating-IP: [213.140.6.107] X-Originating-Email: [mulpp@hotmail.com] X-Sender: mulpp@hotmail.com From: "Fabio Cuomo" To: commons-dev@jakarta.apache.org Bcc: Subject: Please Help me !! listFiles() return null Date: Tue, 23 Mar 2004 23:20:45 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 23 Mar 2004 22:20:45.0127 (UTC) FILETIME=[15D9BD70:01C41125] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi at all.... I'm developing an application that support file transfer using ftp .... particularly it is possible to send and receive file more list all information files or directory. To do this i use listFiles() method of class FTPClass, as follow: FTPClient ftp = new FTPClient(); ftp.connect(host); ftp.login(dbuser, pwd); FTPFile[] filelist = ftp.listFiles(); for (int i = 0; i < filelist.length; ++i) System.out.println(filelist[i]); ftp.disconnect(); ... but on i get a null pointer. Please, can somebody tell me if this is a recognized bug or if i wrong in something ?? Please help me i'm in trouble..Any kind of help is granted. Thanx in advance. regards mulp _________________________________________________________________ MSN Extra Storage elimina i virus dalla tua posta! Provalo! http://join.msn.com/?pgmarket=it-it&page=hotmail/es --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org