cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl latest version failed with ftp upload

From: Tom Lee <tom_lee01_at_hotmail.com>
Date: Tue, 04 Jan 2005 23:38:12 +0000

>From: Daniel Stenberg <daniel-curl_at_haxx.se>
>Reply-To: curl tool talk <curl-users_at_cool.haxx.se>
>To: curl tool talk <curl-users_at_cool.haxx.se>
>Subject: Re: curl latest version failed with ftp upload
>Date: Tue, 4 Jan 2005 20:32:06 +0100 (CET)
>
>On Tue, 4 Jan 2005, Tom Lee wrote:
>
>>>EPSV
>>< 229 Entering Extended Passive Mode (|||53488|)
>>* Trying IP_ADDRESS... * Connection refused
>>* couldn't connect to host
>
>The server opened a new port for curl. curl tries to connect to it, but
>fails.
>
>Either the server is behind a firewall that doesn't let you in on that
>port, or you are behind a firewall that doesn't let you out on that port
>(or similar).
>
>Reading up on and using the -P option is my advice.

I think the client (XP machine) might be behind the firewall.

I tried the following command and it only lists the directory in the server
side, not
doing the upload. Did I miss something?

curl -v -u username:password -P -T myfile.exe ftp://IP_ADDRESS//

thank you,

tom
>
>--
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-01-05