cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Ftp file

From: Jason Webber <webber_at_mminternet.com>
Date: Fri, 11 Oct 2002 13:44:33 -0700

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

I can use the ftp command in Linux and it has no problem. However, if I
transfer to passive mode under ftp command I still get the same hanging
affect to which eventually it just quits.

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

I really have no clue why it happens this way. It is a windows ftp server
and that could be the problem.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-11