cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl with ftps

From: Jochen Roderburg <Roderburg_at_t-online.de>
Date: Mon, 26 Nov 2012 23:04:13 +0000

Am 11/26/2012 09:13 PM, schrieb Daniel Stenberg:
> 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.
>

Ahh yes, sorry, didn't check the meaning of all those parameters. ;-)

J.Roderburg

-------------------------------------------------------------------
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