Issue Details (XML | Word | Printable)

Key: NET-16
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: David D. Kilzer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Net

[net] UnixFTPEntryParser fails to parse Cygwin proftpd output when group names contain spaces

Created: 14/Feb/06 02:47 AM   Updated: 20/Sep/07 05:31 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File commons-net-1.4.1-fix-unix-parser-for-cygwin-proftpd.diff 2006-02-14 03:02 AM David D. Kilzer 0.6 kB
Environment:
Operating System: Windows XP
Platform: PC

Bugzilla Id: 38634


 Description  « Hide
Running proftpd under Cygwin on Windows XP reports itself as UNIX-type server
using the "system" command:

ftp> system
215 UNIX Type: L8

Unfortunately Windows allows spaces in group names, so UnixFTPEntryParser fails
to parse directory output like the following:

ftp> dir
200 PORT command successful
150 Opening ASCII mode data connection for file list
rw-rr- 1 dkilzer Domain Users 0 Feb 13 17:20 foo.001
rw-rr- 1 dkilzer Domain Users 0 Feb 13 17:35 foo.002
226 Transfer complete.

The expected behavior is that it will find two files listed.

The actual behavior is that it reports no files in the directory.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.