cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Ftp file

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 10 Oct 2002 08:10:05 +0200 (MET DST)

On Wed, 9 Oct 2002, Jason Webber wrote:

> > > * 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.

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

> I am trying to connect to a windows server.

Does other ftp commands work against this server?

> > PORT 1,2,3,2,5,247
> curl: (30) Server does not grok PORT, try without it!

So PORT is definetely wrong then.

How come curl can't connect to the IP and port number that the server tells
curl to use in the PASV command reply?

-- 
 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-10