cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Ftp file

From: Jason Webber <webber_at_mminternet.com>
Date: Fri, 11 Oct 2002 14:05:27 -0700

That was it. It was using the wrong interface. Thanks.

----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "Curl Mailinglist" <curl-users_at_lists.sourceforge.net>
Sent: Friday, October 11, 2002 1:48 PM
Subject: Re: Ftp file

> On Fri, 11 Oct 2002, Jason Webber wrote:
>
> > >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.
>
> Ok, that explains why it fails at first. You need PORT then, using -P.
>
> > > > PORT 1,2,3,2,5,247
> > >>curl: (30) Server does not grok PORT, try without it!
> >
> > >So PORT is definetely wrong then.
>
> It just struck me that perhaps curl picks the wrong IP for the PORT
command?
> Do you have multiple network interfaces on this host? I fixed the "pick a
> suitable default IP for PORT" in 7.10, and before that it used the
system's
> "default IP" which might not at all be the correct one.
>
> You can try by using "-P ethX" or similar to tell curl to use the address
> from one of your interfaces, or even "-P 123.45.56.78" to tell curl exacty
> which address you want the remote server to contact you back with.
>
> --
> Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
>
>

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