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 20:20:28 +0000

Am 11/26/2012 06:31 PM, schrieb Dan Fandrich:
>> Comand I use:
>> $ 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.

When e.g. I do the equivalent of your command with the common Squid
proxy and a normal ftp server, the result is a html document with a
squid-generated listing.

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