[Cyberduck-trac] [Cyberduck] #7459: File rename temporality breaks webdav download

Cyberduck trac at trac.cyberduck.ch
Thu Sep 26 20:34:03 UTC 2013


#7459: File rename temporality breaks webdav download
---------------------------+------------------------
 Reporter:  aaron@…        |         Owner:  dkocher
     Type:  defect         |        Status:  new
 Priority:  normal         |     Milestone:  4.4
Component:  webdav         |       Version:  4.3.1
 Severity:  normal         |    Resolution:
 Keywords:                 |  Architecture:  Intel
 Platform:  Mac OS X 10.8  |
---------------------------+------------------------
Changes (by dkocher):

 * owner:   => dkocher
 * component:  core => webdav
 * milestone:   => 4.4


Old description:

> File rename via webdav goes through successfully. Trying to then download
> the renamed file via webdav fails part way through the download.  File
> can be downloaded via other clients fine.  If you try to download a
> different file via CyberDuck (successfully), and then reattempt to
> download the re-named file, the download works successfully.
>
> Steps to reproduce:
> (1) Rename file via CyberDuck (webdav https).
> (2) Try to download that file via webdav.  [will fail partway through
> download, download via web portal works]
>
> NOTE: the file downloads 100% but CyberDuck reports an error because it
> reports the whole file size is twice the size for some reason.  Appears
> to be a client caching bug because the logs (see comment below) show that
> the file attempts to download at the old name first, then retries at the
> new name.
>
> Optional: (3) download a different file via webdav.  then try to download
> the re-named file again.  File will download successfully.
>
> -------------------------------
> SERVER LOG:
> -------------------------------
> 64.245.0.218 -  -  [25/Sep/2013:21:57:02 +0000] "GET
> /dav/Demo%20Upload/012_Sample%20PDF.pdf HTTP/1.1" 404 - "-"
> "Cyberduck/4.3.1 (Mac OS X/10.8.5) (i386)" 58 58
> 64.245.0.218 -  -  [25/Sep/2013:21:57:02 +0000] "GET
> /dav/Demo%20Upload/012_Sample%20PDF%20%28rename%20on%20cyber%29.pdf
> HTTP/1.1" 200 72309 "-" "Cyberduck/4.3.1 (Mac OS X/10.8.5) (i386)" 139
> 139

New description:

 File rename via webdav goes through successfully. Trying to then download
 the renamed file via webdav fails part way through the download.  File can
 be downloaded via other clients fine.  If you try to download a different
 file via CyberDuck (successfully), and then reattempt to download the re-
 named file, the download works successfully.

 Steps to reproduce:
  (1) Rename file via CyberDuck (webdav https).
  (2) Try to download that file via webdav.  [will fail partway through
 download, download via web portal works]

 NOTE: the file downloads 100% but CyberDuck reports an error because it
 reports the whole file size is twice the size for some reason.  Appears to
 be a client caching bug because the logs (see comment below) show that the
 file attempts to download at the old name first, then retries at the new
 name.

 Optional: (3) download a different file via webdav.  then try to download
 the re-named file again.  File will download successfully.


 {{{
 -------------------------------
 SERVER LOG:
 -------------------------------
 64.245.0.218 -  -  [25/Sep/2013:21:57:02 +0000] "GET
 /dav/Demo%20Upload/012_Sample%20PDF.pdf HTTP/1.1" 404 - "-"
 "Cyberduck/4.3.1 (Mac OS X/10.8.5) (i386)" 58 58
 64.245.0.218 -  -  [25/Sep/2013:21:57:02 +0000] "GET
 /dav/Demo%20Upload/012_Sample%20PDF%20%28rename%20on%20cyber%29.pdf
 HTTP/1.1" 200 72309 "-" "Cyberduck/4.3.1 (Mac OS X/10.8.5) (i386)" 139 139
 }}}

--

-- 
Ticket URL: <https://trac.cyberduck.ch/ticket/7459#comment:1>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list