cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Different ssl port

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 1 Aug 2010 20:58:11 +0200 (CEST)

On Sun, 1 Aug 2010, John wrote:

> curl -T test.txt --ftp-ssl-ccc -u <user>:<password> <address>:3101/download/
>
> But this I understand will use default ssl port (980)

No, not if you specify 3101 in the URL.

> Is there a way to specify the secondary port?

curl uses passive by default and then the server opens the second port and
there's no way for curl to alter that.

-- 
  / 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 2010-08-01