cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Data Port connection with SSL/FTP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Dec 2006 23:45:14 +0100 (CET)
On Mon, 11 Dec 2006, Matthew_Ivey_at_genpt.com wrote:
> I'm trying to make a connection and pass Data on a certain port (range of
curl has no option to control what port number the data connection will open
> C:\Temp>curl --ftp-ssl -u UCE0933A:1GNNPRTS --use-ascii --ftp-port -
This has two problems:
1) --local-port is the local end of all outgoing TCP connections. It is not
2) --ftp-port tells the server to use the default, which in your case seems to
> == Info: About to connect() to onlinefiletransfer.suntrust.com port 20021
See, it set a local port from your selected port range.
> == Info: Telling server to connect to 192.168.1.149:2521
192.168.* are private ones, so any external host will simply not be able to
Also, note that you have now published your user name and password to the
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-12-11
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info