[prev in list] [next in list] [prev in thread] [next in thread]
List: curl-library
Subject: Re: How to support transfer resuming in libcurl?
From: Daniel Stenberg <daniel () haxx ! se>
Date: 2002-08-16 7:26:04
[Download RAW message or body]
On Thu, 15 Aug 2002, Stanislav Samolenkov wrote:
> I developed FTP client unit using libcurl. My boss set me on the research
> to find out can my FTP client resume transfer when FTP server closes the
> sockets or dies. I performed the following experiment. I started FTP
> server, pure_ftpd in my case, on the one machine and run my FTP client unit
> on the other machine. My FTP client has been loaded to perform downloading
> of the huge file. While the transfer was going on I killed FTP server fork
> serving for downloading that particular file. Imediately FTP client stopped
> downloading having got message from libcurl that file has not been download
> entierly. My question is 'how to support transfer resuming by means of
> libcurl'?
Did you try setting CURLOPT_RESUME_FROM to the amount of bytes you did manage
to receive and then retried the download? It is supposed to work...
--
Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic