cURL / Mailing Lists / curl-users / Single Mail

curl-users

How can I resume download(ftp) command with range option?

From: Inseon, Son <freshon_at_gmail.com>
Date: Thu, 26 Nov 2009 19:23:08 +0900

I ran below command.

 

curl ftp://192.168.0.24/M11829_070420.ts.pac
<ftp://192.168.0.24/M11829_070420.ts.pac -r 0-20000 -o a.ts.pac> -r 0-20000
-o a.ts.pac

 

I got a 20KB-file (a.ts.pac)

 

After, I ran below command.

 

curl ftp://192.168.0.24/M11829_070420.ts.pac
<ftp://192.168.0.24/M11829_070420.ts.pac -C 20001 -r 1000000-2000000 -o
a.ts.pac> -C 20001 -r 1000000-2000000 -o a.ts.pac

 

I got a full file, why..?

 

I want to download a 1044KB-file(20KB file + 1MB file).

 

Cannot I use C option with r option?

 

I really want reply.

-------------------------------------------------------------------
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 2009-11-26