Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading dynamic large object results in empty file #7693

Closed
cyberduck opened this issue Dec 19, 2013 · 1 comment
Closed

Downloading dynamic large object results in empty file #7693

cyberduck opened this issue Dec 19, 2013 · 1 comment

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Dec 19, 2013

da06755 created the issue

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.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jan 10, 2014

@dkocher commented

Fixed in 7a1cea1 and 92c1d16.

Loading

@cyberduck cyberduck closed this Jan 10, 2014
@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants