GNOME Bugzilla – Bug 86862
Ftp listing fails on microsoft ftp server
Last modified: 2004-12-22 21:47:04 UTC
The ftp module is unable to parse microsoft's ftp server directory listing (nautilus:8783): libgnomevfs-WARNING **: Could not parse: 01-29-02 03:10AM <DIR> Clips et Lives^M 01-29-02 03:10AM <DIR> Films^M 01-30-02 12:31AM <DIR> Humour^M 06-21-02 05:24PM <DIR> JackAss^M 05-10-02 05:47AM <DIR> Jeux^M 05-28-02 01:47PM <DIR> Music^M 05-21-02 11:54PM <DIR> Pubs^M
I also have encountered this bug. Perhaps the module should look at conn->server_type to determine how to parse directory listings. In my case, the NT server returned "Windows_NT version 4.0". I have created a patch that will check server_type and if it is equal to this string, it will call a special function for parsing NT directory listings. Note: I believe there are other issues with ftp and NT servers, but this is a start.
Created attachment 10408 [details] [review] Patch for modules/ftp-method.c to support WinNT directory listings
Adding the patch keyword.
Created attachment 10779 [details] [review] Updated patch for ftp-method.c... reads WinNT + Netware listings
*** Bug 43274 has been marked as a duplicate of this bug. ***
Bug #43274 gave ftp://ftp.dpnd.net as a testcase for a windows ftp server
*** Bug 41463 has been marked as a duplicate of this bug. ***
Committed to CVS HEAD, thanks for the patch, sorry for the delay :)