cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Resume a broken download

From: Dod <dodfr_at_yahoo.com>
Date: Sat, 2 Oct 2010 12:09:16 +0200

Hello,

-C is the command line option for you.

From manual :

RESUMING FILE TRANSFERS
 
 To continue a file transfer where it was previously aborted, curl supports
 resume on http(s) downloads as well as ftp uploads and downloads.
 
 Continue downloading a document:
 
        curl -C - -o file ftp://ftp.server.com/path/file
 
 Continue uploading a document(*1):
 
        curl -C - -T file ftp://ftp.server.com/path/file
 
 Continue downloading a document from a web server(*2):
 
        curl -C - -o file http://www.server.com/
 
 (*1) = This requires that the ftp server supports the non-standard command
        SIZE. If it doesn't, curl will say so.
 
 (*2) = This requires that the web server supports at least HTTP/1.1. If it
        doesn't, curl will say so.
Regards.

AR> Hi,

AR>     Can you guide me on how do I resume a broken download.
AR>     Lets suppose I am downloading a file using this command..

AR> curl --interface eth0:0 --range 10000001,20000000
AR> http://some.server.com/bigfile -o bigfile

AR> But, my computer was shutdown unexpectedly, So, how can I resume this download??
AR> Pls do help.

AR> Regards,
AR> --
AR> Abhijeet Rastogi
AR> http://www.google.com/profiles/abhijeet.1989
AR> -------------------------------------------------------------------
AR> List admin: http://cool.haxx.se/list/listinfo/curl-users
AR> FAQ: http://curl.haxx.se/docs/faq.html
AR> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-02