cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: FTp site through Firewall

From: Navid Srinivas <navid.srinivas_at_patni.com>
Date: Tue, 16 Aug 2005 14:38:41 +0530

I am able to connect through socksproxy in WS_FTP PRO tool
I have tried using --socks option in curl

curl -4 --socks $socksproxy -k ftps://siteusername:sitepassword_at_URL/DIR
also i have tried setting ftp_proxy and ftps_proxy still no avail (-x
option also returns ftps does not work through http proxy!)

it gives me error saying
"ftps does not work through http proxy!"

is there any other option for passing socksproxy

Thanks for your help

regards

Navid

-----Original Message-----
From: Daniel Stenberg [mailto:daniel-curl_at_haxx.se]
Sent: Tuesday, August 16, 2005 1:30 PM
To: navid.srinivas_at_patni.com; curl tool talk
Subject: Re: FTp site through Firewall

On Tue, 16 Aug 2005, Navid Srinivas wrote:

> I am able to connect to an FTP site using WS FTP pro by going through
> Firewall (by passing the network user name and password to it) this FTP
site
> implements SSL

Hold on a moment. How do you pass name and password to a firewall? I presume
you mean this is a HTTP proxy (that might also act as a firewall, but that
is
beside the point for this case) ?

> curl -U networkusername:password -k
ftps://siteusername:sitepassword_at_URL/DIR

1. This doesn't identify the proxy (try -x)

2. curl 7.14.0 and earlier don't support ftps:// through proxy (this is
fixed
    in the CVS/daily snapshot versions)

BTW, how do you access this site with other tools? Can your proxy really
understand and deal with ftps:// URLs? If not, I believe you'll need to
tunnel
through the proxy using -p/--proxytunnel, but that will only be allowed by
the
proxy if it has been specificly configured to allow CONNECT to port 990
(which
to my knowledge is very rarely done).

> Any review, e-transmission dissemination or other use of or taking of any
> action in reliance upon this information by persons or entities other than
> the intended recipient is prohibited.

This mail will be stored, archived and displayed publically on the curl web
site. Information you pass to this list (and the other curl lists) will be
used for whatever purposes the readers of these mails like. The mails are
read
by hundreds of subscribers and tens of thousands of web visitors every
month.
And they will be around "forever" for future visitors to enjoy.

Knowing this, your "legal" blurb is rather funny.

(As usual, I very much suspect that you don't personally decide on the
addition of this text but I can't resist pointing out the stupitidy of it
anyway.)

--
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin_at_patni.com and delete this mail. 
_____________________________________________________________________
Received on 2005-08-16