DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23488>.
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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to