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 591439 - GCMD doesn't use MOVE/COPY methods for the WebDav backend on the same server.
GCMD doesn't use MOVE/COPY methods for the WebDav backend on the same server.
Status: RESOLVED OBSOLETE
Product: gnome-commander
Classification: Other
Component: networking
1.2.x
Other All
: Normal normal
: 2.0
Assigned To: epiotr
epiotr
Depends on: 589069
Blocks:
 
 
Reported: 2009-08-11 12:09 UTC by Petr Tomasek
Modified: 2010-05-30 08:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Petr Tomasek 2009-08-11 12:09:39 UTC
Please describe the problem:
It uses the PUT (and DELETE?) methods instead, i.e. all files are downloaded first and consequently uploaded again to the same server. I tried both copying from one panel to another as well as DnD, both uses PUT.

Tested with stable gcmd 1.2.8.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 epiotr 2009-08-18 18:55:47 UTC
Backend underlying methods for accessing WebDav resources are implemented in GnomeVFS, and there is no API for controlling it. I'm afraid there is nothing to be done about it - except for switching to gio/gvfs, of course. I'm not closing the bug, marking as gcmd-2.0 goal.
Comment 2 Petr Tomasek 2009-08-19 14:56:03 UTC
I'm not sure if I understand well, what You say. If You _rename_ a file in GCMD using gnomeVFS/webdav it does use the MOVE method, so there must be a way to do it for moving files between panels as well. Or am I totally wrong?
Comment 3 Petr Tomasek 2009-08-31 12:12:41 UTC
Gnome-vfs has gnome_vfs_move() which should be used instead of gnome_vfs_xfer* if source and target are on te same filesystem, which can be tested by the function gnome_vfs_check_same_fs()...

So this could definitely be done with gnome-vfs and can be done before the move to the gio/gvfs...
Comment 4 epiotr 2009-09-02 13:14:56 UTC
There is a small app in gnome-vfs package (http://ftp.gnome.org/pub/GNOME/sources/gnome-vfs/2.24/gnome-vfs-2.24.1.tar.bz2): gnomevfs-mv

The utility basically calls gnome_vfs_move() only and is perfect for testing if GnomeVFS supports MOVE for WebDAV.

Please buils the package and verify if it is working as needed. The usage is:

     programs/gnomevfs-mv from_uri to_uri
Comment 5 Tobias Mueller 2010-04-11 20:47:19 UTC
Hm. Can I assume that this bug is OBSOLETE with the move to GIO?
Comment 6 Petr Tomasek 2010-04-12 16:33:05 UTC
Hm, It depends on the implementation. (gnome-vfs also allowed for using MOVE and nautilus did it...)

Is the gio already implemented in some branch?

(Sorry I cannot help more now, I'm quite busy for a half year o so..)
Comment 7 Tobias Mueller 2010-05-30 08:12:27 UTC
epiotr, I'm closing this as OBSOLETE since I assume gvfs to be obsolete.