cURL / Mailing Lists / curl-library / Single Mail


Re: FTP byte range

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

On Wed, 12 Sep 2007, wrote:

(please don't 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:
Received on 2007-09-13