cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Solaris 10 using Curl to connect to FTPES (SSL/TLS Explicit)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 25 Jan 2011 18:00:16 +0100 (CET)

On Tue, 25 Jan 2011, Andy Ee wrote:

Can you please stop the top-posting soon?

> I tried this command and the client could not connect to the FTP server via
> port 21. When I telnet manually from the client to the FTP server via port
> 21, it works.
>
> bash-3.00# curl -v ftp://username:password@192.168.0.112/sawnet/testdir/ -k
> --ftp-ssl -P 192.168.0.112:21

Please read up on the -P option again.

That's the IP adress and port number at the client, that the server should
connect to. The arguments above make no sense and will of course not work.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-25