cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Ftp file

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Oct 2002 14:12:59 +0200 (MET DST)

On Tue, 8 Oct 2002, Jason Webber wrote:

> I am having problems uploading a file to a remote ftp site.
>
> /usr/local/bin/curl -v -T /usr/www/htdocs/feeds/HELPU.zip -u
> username:password ftp://ftp.abc.com/HELPU.zip

> * About to connect() to ftp.abc.com:21
> * Connected to ftp.abc.com (65.54.200.91) port 21
> > USER username
> > PASS password
> * We have successfully logged in
> > PWD
> * Entry path is '/upload'
> > EPSV
> > PASV
> * About to connect() to ftp.abc.com:1642
>
> After this bit it just stalls and eventually the program terminates, but
> the file is not transferred.

Which curl version is this on what operating system?

It seems to fail to connect to the host on that given port number. You can
try using PORT instead, with "-P -".

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-09