| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: Issue with partial file transfer
From: Marcin Adamski <mass85_at_tlen.pl>
Date: Fri, 20 Apr 2012 17:51:30 +0200
Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Fri, 20 Apr 2012, Grzegorz Sikorski wrote:
Grzegorz provides libcurl with two parameters: CURLOPT_SEEKFUNCTION, CURLOPT_SEEKDATA. This is why he expects libcurl to perform all seeks by itself. How about resuming upload after part of the file is already on the server? Libcurl obtains the remote file size by SIZE command and performs seek on CURLOPT_SEEKDATA using CURLOPT_SEEKFUNCTION, because only libcurl knows the correct position in file to begin the transfer with. So you can't say "What is the correct place is only known by the application".
Regards
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info