curl-users
ftp-ssl syntax help
From: michael mittiga <mmittiga17_at_gmail.com>
Date: Tue, 17 Apr 2007 16:18:24 -0400
Date: Tue, 17 Apr 2007 16:18:24 -0400
Can some one please provide me with the correct syntax to download a
file via ftps
curl -E cert.pem --key key.pem -k -v -u xxxx:xxxx
ftp://some.site.com/ELIS/outbound/File_Test.txt --ftp-ssl
I need to use a cert and key. Login works but I do not get the file
and it tries to do passive and freezes.
Freezes here.
257 "/" is current directory.
* Entry path is '/'
> CWD ELIS
< 250 CWD command successful.
> CWD outbound
< 250 CWD command successful.
> EPSV
* Connect data stream passively
< 500 'EPSV': command not understood.
* disabling EPSV usage
> PASV
Also, I am looking for example of how to do the same thing using
WWW::Curl::easy
Any help will be appreciated. Thanks
Michael
Received on 2007-04-17