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

Does s3cmd resume downloads? #280

Closed
kaihendry opened this issue Feb 13, 2014 · 1 comment
Closed

Does s3cmd resume downloads? #280

kaihendry opened this issue Feb 13, 2014 · 1 comment

Comments

@kaihendry
Copy link

Quite confused here:
http://r2d2.webconverger.org/2014-02-13/s3cmd-sync.html

When finished downloading it seems unable to get the md5sum right...
http://s.natalian.org/2014-02-13/1392294829_1364x742.png

What's going wrong?

@mdomsch
Copy link
Contributor

mdomsch commented Mar 16, 2014

newer s3cmd (e.g. upstream master) works fine. You have to pass put --continue for it to continue though, it won't automatically do so without instruction.

$ ~/git/s3cmd/s3cmd put dban-2.2.7_i586.iso s3://s3cmd-test.domsch.com/
dban-2.2.7_i586.iso -> s3://s3cmd-test.domsch.com/dban-2.2.7_i586.iso [1 of 1]
11077632 of 11077632 100% in 165s 65.51 kB/s done
[mdomsch@pws490 Downloads]$ mkdir t
[mdomsch@pws490 Downloads]$ cd t
[mdomsch@pws490 t]$ ~/git/s3cmd/s3cmd get s3://s3cmd-test.domsch.com/dban-2.2.7_i586.iso
s3://s3cmd-test.domsch.com/dban-2.2.7_i586.iso -> ./dban-2.2.7_i586.iso [1 of 1]
4706304 of 11077632 42% in 2s 1961.10 kB/s^CSee ya!
[mdomsch@pws490 t]$ ~/git/s3cmd/s3cmd get s3://s3cmd-test.domsch.com/dban-2.2.7_i586.iso
ERROR: Parameter problem: File ./dban-2.2.7_i586.iso already exists. Use either of --force / --continue / --skip-existing or give it a new name.
[mdomsch@pws490 t]$ ~/git/s3cmd/s3cmd --continue get s3://s3cmd-test.domsch.com/dban-2.2.7_i586.iso
s3://s3cmd-test.domsch.com/dban-2.2.7_i586.iso -> ./dban-2.2.7_i586.iso [1 of 1]
11077632 of 11077632 100% in 1s 2.14 MB/s done
[mdomsch@pws490 t]$ md5sum dban-2.2.7_i586.iso
066fb83c43f6ba96f92b8fe1302cb431 dban-2.2.7_i586.iso
[mdomsch@pws490 t]$ md5sum ../dban-2.2.7_i586.iso
066fb83c43f6ba96f92b8fe1302cb431 ../dban-2.2.7_i586.iso

@mdomsch mdomsch closed this as completed Mar 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants