After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 86862 - Ftp listing fails on microsoft ftp server
Ftp listing fails on microsoft ftp server
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: ftp
2.0.x
Other Linux
: Normal major
: ---
Assigned To: gnome-vfs maintainers
Luis Villa
: 41463 43274 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-06-29 19:11 UTC by Frédéric VANNÈRE
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for modules/ftp-method.c to support WinNT directory listings (4.00 KB, patch)
2002-08-10 21:00 UTC, jl1192
none Details | Review
Updated patch for ftp-method.c... reads WinNT + Netware listings (8.49 KB, patch)
2002-08-28 23:43 UTC, jl1192
none Details | Review

Description Frédéric VANNÈRE 2002-06-29 19:11:35 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
Comment 1 jl1192 2002-08-10 20:58:44 UTC
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.
Comment 2 jl1192 2002-08-10 21:00:39 UTC
Created attachment 10408 [details] [review]
Patch for modules/ftp-method.c to support WinNT directory listings
Comment 3 Luis Villa 2002-08-12 21:01:01 UTC
Adding the patch keyword.
Comment 4 jl1192 2002-08-28 23:43:56 UTC
Created attachment 10779 [details] [review]
Updated patch for ftp-method.c... reads WinNT + Netware listings
Comment 5 Christophe Fergeau 2002-11-02 23:03:20 UTC
*** Bug 43274 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Fergeau 2002-11-02 23:04:30 UTC
Bug #43274 gave ftp://ftp.dpnd.net as a testcase for a windows ftp server
Comment 7 Christophe Fergeau 2002-11-03 00:08:51 UTC
*** Bug 41463 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Fergeau 2002-11-04 13:59:44 UTC
Committed to CVS HEAD, thanks for the patch, sorry for the delay :)