ftp_NLST returns paths with incorrect separators, should be a forward-slash

[email protected] Tue, 12 Jan 2010 01:07:27 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from jesstess <[email protected]>:

I did some testing on some Windows and Linux FTP servers. On all of the servers, including the Windows machine, the path separators in the client request had to be "/" to get the directory listing you wanted, and the path separators in the server response were always "/" (you can test this on the ftp.microsoft.com server). The RFC doesn't have anything to say about this.

This means the way ftp_NLST (and probably also ftp_LIST) passes directory listings from the shell is currently inconsistent with other, common FTP implementations, as it returns paths with the OS-specific separator instead of a forward slash.

----------
Type     : defect
Component: core
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/4205