cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Send command

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 16 Dec 2010 00:13:25 +0100 (CET)

On Wed, 15 Dec 2010, Lee Elcocks wrote:

> plain FTP no encryption

> 0000: EPSV
> 0000: 229 Entering Extended Passive Mode (|||64887|)
> == Info: Trying 91.110.154.55... == Info: Timed out
> == Info: couldn't connect to host

Something blocks the second connect to the server...

> == Info: got positive EPSV response, but can't connect. Disabling EPSV
> => Send header, 6 bytes (0x6)
> 0000: PASV
> 0000: 227 Entering Passive Mode (11,111,222,33,253,120).
> == Info: Trying 11.111.222.33... == Info: Timed out
> == Info: couldn't connect to host

... and clearly it didn't help when trying PASV instead of EPSV, the
connection is not going through.

> I can connect via winscp no problem with same credentials, so server is ok?

WinSCP speaks several protocols, are you sure it connects with FTP?

And connecting is not the problem for you, transferring data is since you
can't connect passively. Did you try the -P option to force curl to instead
use PORT/EPRT when setting up the transfer connection?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-16