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 344237 - superfluous CWD during FTP rename
superfluous CWD during FTP rename
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Module: ftp
2.15.x
Other All
: Normal normal
: 2.16
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-08 04:36 UTC by Shimano
Modified: 2008-09-06 19:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Shimano 2006-06-08 04:36:56 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.
-----------------------------------
Comment 1 Christian Neumair 2006-08-15 16:16:19 UTC
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.
Comment 2 Shimano 2006-08-15 16:27:48 UTC
Ethereal Network Analyzer 
http://www.ethereal.com/

works great!!!

looks for Ethereal in your package manager
Comment 3 André Klapper 2008-09-06 19:03:18 UTC
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