curl-users
Re: How can I resume download(ftp) command with range option?
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Fri, 27 Nov 2009 11:16:07 +0100
Date: Fri, 27 Nov 2009 11:16:07 +0100
Inseon, Son wrote:
> curl ftp://192.168.0.24/M11829_070420.ts.pac -r 0-20000,100000-200000 -o
> a.ts.pac
>
> But, the result was same.
>
> I want to get Two parts(A, B), but I want to get one file.
>
> Is this method impossible?
You could try to do it with two transfers and concatenate the files:
curl ftp://192.168.0.24/M11829_070420.ts.pac -r 0-20000 > a.ts.pac
curl ftp://192.168.0.24/M11829_070420.ts.pac -r 100000-200000 >> a.ts.pac
Linus
-------------------------------------------------------------------
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-27