curl-library
Re: ftp with EPSV behind a buggy firewall (patch)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 24 Jan 2006 15:41:34 +0100 (CET)
Date: Tue, 24 Jan 2006 15:41:34 +0100 (CET)
On Tue, 24 Jan 2006, Michal Marek wrote:
> curl uses EPSV by default and fallbacks to PASV if the server doesn't
> support it. However, if there is some firewall in the way which doesn't
> support EPSV, then curl gives up after the data connection is refused
> (because the firewall didn't let it through). The attached patch makes curl
> try PASV in that case as well.
Thanks! I applied and committed it with a slight edit and a modified test case
238.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-01-24