Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 59221 invoked from network); 29 Sep 2003 16:14:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Sep 2003 16:14:35 -0000 Received: (qmail 46048 invoked by uid 500); 29 Sep 2003 16:14:24 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 45974 invoked by uid 500); 29 Sep 2003 16:14:24 -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 45961 invoked from network); 29 Sep 2003 16:14:24 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 29 Sep 2003 16:14:24 -0000 Received: (qmail 9569 invoked by uid 50); 29 Sep 2003 16:17:24 -0000 Date: 29 Sep 2003 16:17:24 -0000 Message-ID: <20030929161724.9568.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 23488] New: - OS400 FTP server directory listing is not being parsed properly in FTPFile class. 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 DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23488 OS400 FTP server directory listing is not being parsed properly in FTPFile class. Summary: OS400 FTP server directory listing is not being parsed properly in FTPFile class. Product: Commons Version: Nightly Builds Platform: PC OS/Version: OS/400 Status: NEW Severity: Enhancement Priority: Other Component: Net AssignedTo: commons-dev@jakarta.apache.org ReportedBy: dclowe@pathix.com I connect to an OS400 FTP server and getName seems to be cutting off the first character in the filename. I have not tested the return of other methods but upon further investigation, I noticed that there is no "OS400FTPEntryParser" class. I guess the default parser does not work with this operating system. Here is a sample of the dirlisting from OS400's FTP server: (obtained via FTPFile.getRawListing(). DCLOWE 297146 03/07/03 12:06:56 *STMF RDBpwtest.jar DCLOWE 2749457 01/08/03 14:11:49 *STMF jt400.jar DCLOWE 298296 01/11/09 16:14:41 *STMF rdb.pdf DCLOWE 280115 01/07/09 12:55:42 *STMF rdb310.jar DCLOWE 295553 02/01/31 14:33:41 *STMF rdb320.jar DCLOWE 224823 03/07/15 13:45:45 *STMF rdb330.jar DCLOWE 32409 02/02/21 15:36:05 *STMF rdbconfig.jar DCLOWE 297715 03/07/25 15:14:50 *STMF rdb333.jar DCLOWE 380 03/07/15 13:45:45 *STMF RepairDataBase.html DCLOWE 10021711 02/10/23 14:28:25 *STMF setup.exe DCLOWE 224823 03/07/15 13:45:58 *STMF rdblocal.jar DCLOWE 297715 03/07/25 15:14:50 *STMF rdbcurrent.jar DCLOWE 8192 03/07/25 15:26:13 *DIR temp/ Now here is a sample of the same output obtained via command line FTP in Windows 2000. (dir command) ftp> dir 200 PORT subcommand request successful. 125 List started. DCLOWE 297146 03/07/03 12:06:56 *STMF RDBpwtest.jar DCLOWE 2749457 01/08/03 14:11:49 *STMF jt400.jar DCLOWE 298296 01/11/09 16:14:41 *STMF rdb.pdf DCLOWE 280115 01/07/09 12:55:42 *STMF rdb310.jar DCLOWE 295553 02/01/31 14:33:41 *STMF rdb320.jar DCLOWE 224823 03/07/15 13:45:45 *STMF rdb330.jar DCLOWE 32409 02/02/21 15:36:05 *STMF rdbconfig.jar DCLOWE 297715 03/07/25 15:14:50 *STMF rdb333.jar DCLOWE 380 03/07/15 13:45:45 *STMF RepairDataBase.html DCLOWE 10021711 02/10/23 14:28:25 *STMF setup.exe DCLOWE 224823 03/07/15 13:45:58 *STMF rdblocal.jar DCLOWE 297715 03/07/25 15:14:50 *STMF rdbcurrent.jar DCLOWE 8192 03/07/25 15:26:13 *DIR temp/ 250 List completed. ftp: 830 bytes received in 0.00Seconds 830000.00Kbytes/sec. ftp> I imagine this might not be of the highest priority to you but It would be very helpful for me and I would be willing to try and write one which would be an added value to the package. I have never worked on an opensource project before but would be interested. Regards, Dean Clowe --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org