cURL / Mailing Lists / curl-users / Single Mail


FTP problem

From: Clayton, Richard <>
Date: Tue, 31 Jan 2006 11:28:01 -0000

curl -T D:\ftpexternal\Carriers\filename.dat -u user:pass --disable-epsv
Gives the following trace

== Info: We have successfully logged in
=> Send header, 5 bytes (0x5)
0000: PWD
<= Recv header, 31 bytes (0x1f)
0000: 257 "/" is current directory.
== Info: Entry path is '/'
== Info: protocol connect phase DONE
== Info: DO phase starts
=> Send header, 14 bytes (0xe)
0000: CWD incoming
<= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
=> Send header, 6 bytes (0x6)
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

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.
I added --disable-epsv as it was timing out when trying to go into extended passive mode
Any ideas ?


This message is sent in strict confidence for the addressee only. It may
contain legally privileged information. The contents are not to be disclosed
to anyone other than the addressee. Unauthorised recipients are requested
to preserve this confidentiality and to advise the sender immediately of any
error in transmission.
This footnote also confirms that this email message has been swept for the
presence of computer viruses, however we cannot guarantee that this message
is free from such problems.
Received on 2006-01-31