cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl with ftps

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 26 Nov 2012 22:13:30 +0100 (CET)

On Mon, 26 Nov 2012, Jochen Roderburg wrote:

>>> $ curl -v -p -3 -k -l -x $PROXY:$PROXY_PORT --ftp-ssl
>>> ftp://$URL:$REMOTE_PORT/$REMOTE_DIR
>
> When you are doing ftp through a HTTP proxy, then it is the task of the
> *proxy* to recognize that you want a directory with your URL and it is the
> proxy that has to retrieve the listing from the ftp server and return it to
> you in some format.

Normally it would work like that yes, but in this case -p (--proxytunnel) was
used and it makes curl to CONNECT through the server and do the "full"
protocol itself.

-- 
  / 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 2012-11-26