curl-users
Re: microsoft ftp service with firewall problem
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 18 Mar 2005 09:51:09 +0100 (CET)
Date: Fri, 18 Mar 2005 09:51:09 +0100 (CET)
On Fri, 18 Mar 2005, bupingrr wrote:
>> PASV
> < 227 Entering Passive Mode (192,168,0,40,10,64).
> * Trying 192.168.0.40... * Timed out
> * Connection #0 to host 192.168.0.40 left intact
> curl: (7) couldn't connect
>> PASV
> < 227 Entering Passive Mode (192,168,0,40,10,102).
> * Trying 192.168.0.40... * Timed out
> * Connection #0 to host 192.168.0.40 left intact
> curl: (7) couldn't connect
Clearly your server tells you to connect to a port that curl can't connect to.
If you can fix the server, try using "-P -" with curl to use PORT instead.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-03-18