cURL / Mailing Lists / curl-library / Single Mail


Re: SCP/SFTP and persistency, bug #1823487

From: Daniel Stenberg <>
Date: Thu, 22 Nov 2007 21:25:37 +0100 (CET)

On Thu, 22 Nov 2007, Immanuel Gregoire wrote:

> It seems it is server related. If the server does not support 'SIZE',
> libcurl will parse the string "Opening data connection ... (xxx bytes)" in
> ftp_state_get_resp() to get the filesize. The parsing is still done, but the
> obtained size is not stored anymore using Curl_pgrsSetDownloadSize().

I did a case just like that and it worked perfectly for me. As I explained
before, the size is still stored with that function call. In my case it works
fine even without SIZE support.

Which is why I ask you for the details of your error case.

  Commercial curl and libcurl Technical Support:
Received on 2007-11-22