commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38830] - [net] FTPClient.listFiles() returns incorrect directory names if the directory begins numerically
Date Mon, 06 Mar 2006 10:17:01 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38830>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38830





------- Additional Comments From r.sang@nhm.ac.uk  2006-03-06 10:17 -------
(In reply to comment #1)
> PLease indicate the system of the server you are connecting to and also please
> provide a listing of the directory in which these directories reside from a
> standard FTP program.

The FTP server is IIS running on Windows Server 2003. It reports as Microsoft
FTP Service (Version 5.0).

Using command line ftp from the same UNIX machine that runs my Java app the file
list is reported correctly:
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
10 years and under
11-14 years old
15-17 years old
226 Transfer complete.
54 bytes received in 0.012 seconds (4.43 Kbytes/s)

It seems likely to me that it is the parser used that is stripping out the 10 as
if it is an FTP response code. I haven't been able to verify this myself, though.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message