Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to upload very big file and after some hours connection is lost. When I try to upload one more time, there is only Append option in Midnight Commander, which is not the same as Resume...

share|improve this question

You could use curl to continue interrupted file upload.

curl ftp://ftp_server_host:port/path_on_server/ -u username:userpassword -T filename_to_upload -C - -#
share|improve this answer
What does the only - do before -#? – rahilwazir Sep 30 '14 at 10:43
@RahilWazir, if i'm remembering correctly, it preserve upload file name on server side. You could check it, with few simple experiments. Something like from tar examples over ssh, from this post: All your wishes come true: File transfer via SSH – Vitalie Ghelbert Sep 30 '14 at 17:30
I think -C - is connected with each other, removing either of these giving me expected positive number parameter – rahilwazir Sep 30 '14 at 17:55
curl --help | less, return this info regarding: -C, --continue-at OFFSET Resumed transfer offset. When you put "-C -", it check how much is uploaded on server, then resume upload, else, you could specify uploading from a custom OFFSET. – Vitalie Ghelbert Oct 2 '14 at 19:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.