cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Trouble transversing two firewalls w/ passive ftp

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 26 Jan 2006 10:16:36 -0800

On Thu, Jan 26, 2006 at 04:29:06PM +0100, Daniel Stenberg wrote:
> I would call this a badly setup server.

Definitely.

> To recap your story:
>
> A - you block the server from connecting back to you, so you can't use PORT
>
> B - the server is bad and responds with a bad IP, so you can't use PASV
>
> Conclusion: you simply cannot speak FTP with this server unless you change
> something in the network environment. This is nothing curl can do anything
> about.

There might be a way around B: try the --ftp-skip-pasv-ip option. That
ignores the bad IP address supplied by the server and uses the address
for the control channel. There's a good chance that won't work, however,
since there is a firewall sitting in front of the server.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-01-26