GNOME Bugzilla – Bug 344237
superfluous CWD during FTP rename
Last modified: 2008-09-06 19:03:18 UTC
Please describe the problem: On some ftp server, rename operation fail. I think where is a unnecessary CMD command between RNFR and RNTO. See tcp dump. SYST 215 UNIX Type: L8 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: GNOME-VFS TCP DUMP (part) ----------------------------------- PWD 257 "/" is current directory. CWD / 250 Directory changed to / RNFR untitled folder 350 File or directory exists, ready for destination name CWD / 250 Directory changed to / RNTO test 503 Bad sequence of commands. ----------------------------------- GFTP TCP DUMP (part) ----------------------------------- RNFR untitled folder 350 File or directory exists, ready for destination name RNTO test 250 RNTO command successful. -----------------------------------
Thanks for your bug report, good catch! Indeed, we should split out the uri->path conversion from do_path_command, call it ourselves and call do_basic_command in do_move when dong "RNTO". PS: What tool did you use to log the FTP commands? Can you recommend a specific one to me? tcpdump seems to be targeted at the package info, not at the package data.
Ethereal Network Analyzer http://www.ethereal.com/ works great!!! looks for Ethereal in your package manager
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome. If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs. @Bugzilla mail recipients: query for gnome-vfs-mass-close to get rid of these notification emails all together. General further information: http://en.wikipedia.org/wiki/GVFS Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html