Re: FTP problem
Date: Tue, 31 Jan 2006 12:52:05 +0100 (CET)
On Tue, 31 Jan 2006, Clayton, Richard wrote:
> curl -T D:\ftpexternal\Carriers\filename.dat -u user:pass
> ftp://ftp.somewhere.com/incoming/ --disable-epsv
> 0000: PASV
> == Info: Connect data stream passively
> <= Recv header, 51 bytes (0x33)
> 0000: 227 Entering Passive Mode (xx,xx,xx,xx,188,145)
> == Info: Trying xx,xx,xx,xx,.36... == Info: Timed out
> == Info: couldn't connect to host
The server responds with an IP+port that you can't connect to. That might be a
silly server or something in between you and the server that messes this up.
Like a firewall, a NAT or similar.
> Normally I would blame the remote server for this failure as we have no
> problems sending to anyone else. BUT - I have no problems sending files to
> this server using Terrapin FTP or from a DOS prompt.
And they use PASV fine and get the same IP and somewhat similar port number?
> I added --disable-epsv as it was timing out when trying to go into extended
> passive mode
That indicates a problem as well. Using EPSV should not impose a problem if
all things are fine.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-01-31