cURL / Mailing Lists / curl-library / Single Mail


Maxdownload problem & SSH question

From: <>
Date: Mon, 26 Mar 2007 14:09:27 +0200


I've just switched to version 7.16.1 and I've problem with
downloading files from a ftp.

When I connect to ftp I get 'Maxdownload = -1' message.
I suppose this is some kind of file size limit but I
can't find a way to change it (or is it just so simply that I can't see it).
I also get 'FTP: couldn't retrieve (RETR failed) the specified file' message
but since my debugger refused to cooperate I can't check if it's connected with
receiving files from ftp or just file list (I'm still working on it).

I'd like to use SSH to connect with FTP.
are the CURLOPT_SSH_* (including CURLOPT_SSLKEYPASSWD) only settings that I need to set?
And what next? Can I connect to the server as when I connect without SSH?
Can I still use 21 port or maybe I have use 22?

Best Regards
Received on 2007-03-26