cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: FTP byte range

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 13 Sep 2007 15:15:40 +0200 (CEST)

On Wed, 12 Sep 2007, ying_at_lw-works.com wrote:

(please don't top-post: http://curl.haxx.se/mail/etiquette.html#top-post)

> Now I have another question. How can I get the size of the remote file?

Get the file with CURLOPT_NOBODY and extract the size, or just get the ftp
headers to a callback and parse the 213 response (or the RETR response). Or
read it within the progress callback...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-09-13

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET