Search code examples
amazon-web-servicesamazon-s3s3cmd

Is there any way to stop/resume file download from AWS S3 while using s3cmd?


I'm downloading a huge file from S3 (around 20 GB) using s3cmd and I wish to pause the download right now and resume it again tomorrow.

I've read about the --continue flag but I don't know about its usage. As in, should the download be ended in a specific way for the --continue flag to be able to resume it later on? Or will the --continue flag be able to resume download no matter how the process was stopped, regardless if it was a keyboard interrupt, accidental shutdown or network error.

Can somebody give an example?

The intended usage is with the get command and version of s3cmd is 2.0.2.


Solution

  • Apparently, simply using the continue flag does the job splendidly. I ended the download by disconnecting the network. And then started again the next day using the --continue flag and it resumed the download from where it had left.