[Cyberduck-trac] [Cyberduck] #7693: Problem with downloading segmented object
Cyberduck
trac at trac.cyberduck.io
Thu Dec 19 17:15:23 UTC 2013
#7693: Problem with downloading segmented object
--------------------------+-----------------------
Reporter: din | Owner: dkocher
Type: defect | Status: new
Priority: normal | Milestone: 4.5
Component: openstack | Version: 4.4.3
Severity: normal | Keywords:
Architecture: Intel | Platform: Windows 7
--------------------------+-----------------------
Cyberduck downloads only empty manifest file for segmented object.
I have 1GB file
{{{
ls -l
-rw-r--r-- 1 root root 1073741824 Dec 19 13:07 file8.txt
}}}
Upload this file with python-swiftclient which splits object on couple
100MB segments:
{{{
swift upload newcontainer -S 104857600 file8.txt
}}}
After upload on swift there is a structure:
{{{
newcontainer
file8.txt
newcontainer_segments
file8.txt/1387454875.69/1073741824/00000000
file8.txt/1387454875.69/1073741824/00000001
file8.txt/1387454875.69/1073741824/00000002
file8.txt/1387454875.69/1073741824/00000003
file8.txt/1387454875.69/1073741824/00000004
file8.txt/1387454875.69/1073741824/00000005
file8.txt/1387454875.69/1073741824/00000006
file8.txt/1387454875.69/1073741824/00000007
file8.txt/1387454875.69/1073741824/00000008
file8.txt/1387454875.69/1073741824/00000009
file8.txt/1387454875.69/1073741824/00000010
}}}
When try download manifest file cyberduck saves only empty file, but
should 1GB. In "Log Drawer" there is no request info, but in fiddler I
see:
{{{
GET https://example.com/v1/AUTH_12345/newcontainer/file8.txt HTTP/1.1
X-Auth-Token: AUTH_tk79123438b18a49cd86b302564091234
Host: example.com
Connection: Keep-Alive
User-Agent: Cyberduck/4.4.4 (14153) (Windows 7/6.1) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Content-Length: 1073741824
X-Object-Meta-Mtime: 1387454875.69
Accept-Ranges: bytes
Last-Modified: Thu, 19 Dec 2013 12:53:17 GMT
X-Object-Manifest:
newcontainer_segments/file8.txt/1387454875.69/1073741824/
X-Timestamp: 1387457601.58801
Etag: "5449cf7d5e15834577c81ff7416effff"
Content-Type: text/plain
X-Trans-Id: txc03662ee5d9d4fca9a0bd24152dc2c64
Date: Thu, 19 Dec 2013 16:11:56 GMT
Connection: keep-alive
}}}
Last version which seems to work is 4.4.1.13981: in file browser window,
size of manifest file is 0B but it is possible do download file with
correct size.
Tested on swift 1.8.0, if additional information needed i will try provide
it.
--
Ticket URL: <https://trac.cyberduck.io/ticket/7693>
Cyberduck <http://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list