curl-library
Re: failed to download binary file of actual size from source to destiantion
Date: Thu, 19 May 2016 09:24:38 -0400
On 05/19/2016 05:58 AM, ankit singh wrote:
> Add to this could you point me how to use in c code :
>
> curl -o output-file http://ip-address/input-file
The curl part of the code can be generated for you like so, in example.c:
curl -o output-file http://ip-address/input-file --libcurl example.c
> Will it be able to download the file of actual size ?
Yes? Wouldn't be very useful otherwise I wouldn't think.
> Does this script requires libcurl installed on remote location ?
No, just a server speaking the same protocol as libcurl, in your
example's case, http.
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-05-19