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 634038 - Cannot copy whole folder from webdav share
Cannot copy whole folder from webdav share
Status: RESOLVED DUPLICATE of bug 551339
Product: gvfs
Classification: Core
Component: webdav backend
unspecified
Other Linux
: Normal major
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2010-11-04 23:01 UTC by Michael Monreal
Modified: 2011-05-03 22:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gvfs debug (15.57 KB, text/plain)
2011-05-03 18:58 UTC, Michael Monreal
Details

Description Michael Monreal 2010-11-04 23:01:39 UTC
From a dav+sd: (personal file sharing) share, try to copy a *folder*. You can copy single files just fine but not folders.
Comment 1 Cosimo Cecchi 2010-11-05 11:16:36 UTC
-> gvfs

This is very likely to be another incarnation of bug 551339.
Comment 2 Michael Monreal 2010-11-05 12:20:38 UTC
I don't see any html file, I only get some error window.
Comment 3 Christian Kellner 2011-05-03 08:50:00 UTC
Could you please describe what error message you are seeing? 

Copying a folder will -due to a bad bug- result in a GET being done on a folder. It might very well be that the server responds to that GET request with an error and it is that error that you are seeing. So it could (and I think it is indeed likely) that you are seeing bug 551339. 

Could you please provide information?
Comment 4 Michael Monreal 2011-05-03 14:31:54 UTC
Just tested with a folder "test" in "Public" which only includes a textfile "1":

---
Error while copying "test".

There was an error copying the file into /home/monreal.

\/ Show more details

Not Found
---
Comment 5 Christian Kellner 2011-05-03 18:47:41 UTC
Hi,

can gather some debugging info by setting the debug environment variable for the dav backend:
export GVFS_HTTP_DEBUG="header"
and then restart the gvfs daemon with
"/usr/lib/gvfs/gvfsd --replace" (Ubuntu) or  "/usr/libexec/gvfs/gvfsd --replace" (Fedora)
and attach the output?
Comment 6 Michael Monreal 2011-05-03 18:58:07 UTC
Created attachment 187148 [details]
gvfs debug

Sure, no problem => attached
Comment 7 Christian Kellner 2011-05-03 22:55:43 UTC
Thanks!

So from looking at the log gvfs clearly issues an HTTP "GET" on the collection, which results in a 404:
> GET /test HTTP/1.1
[...]
< HTTP/1.1 404 Not Found

While /test itself is obviously there (and indeed a collection):

< <D:href>/test/</D:href>
< <D:propstat>
< <D:prop>
  [...]
< <lp1:resourcetype><D:collection/></lp1:resourcetype>
< </D:prop>

So I am pretty sure that what you are seeing is indeed bug 551339 which I fixed moments ago. ;-)

Thanks for your help again.

*** This bug has been marked as a duplicate of bug 551339 ***