cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SCP/SFTP and persistency, bug #1823487

From: Immanuel Gregoire <junk_at_igrspace.com>
Date: Thu, 22 Nov 2007 07:58:05 -0800 (PST)

On Wed, 21 Nov 2007, Daniel Stenberg wrote:

> Are you using the command line tool or your own app btw? And if your own
> app,
> what interface are you using?

both the command line tool as an app.

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().
Received on 2007-11-22