cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl with ftps

From: <patrice.martin_at_aero.bombardier.com>
Date: Mon, 26 Nov 2012 14:47:29 -0500

Ok, Thanks for your quick answers guys.
I am dealing with a third party and they did not provided me with the good
information.
Since I could not connect on their secured server by myself, I could only
trust what they've told me.
the -l option lists both the files & the directories now.

                                                                           
             Jochen Roderburg
             <Roderburg_at_T-Onli
             ne.DE> To
             Sent by: the curl tool
             "curl-users" <curl-users_at_cool.haxx.se>
             <curl-users-bounc cc
             es_at_cool.haxx.se>
                                                                   Subject
                                       Re: curl with ftps
             11/26/2012 02:21
             PM
                                                                           
                                                                           
             Please respond to
               the curl tool
             <curl-users_at_cool.
                 haxx.se>
                                                                           
                                                                           

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

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