[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wget times out - but ftp works OK



On Wed, 2005-01-05 at 14:30 +0100, Wim De Smet wrote:
> On Tue, 4 Jan 2005 12:27:51 +0100, Karsten Bolding
> <karsten@bolding-burchard.com> wrote:
> > Hello
> > 
> > the following command:
> > wget -nd ftp://80.198.12.199/pub/hans.burchard/aa
> > gives the following output:
> > krabbe% wget -nd ftp://80.198.12.199/pub/hans.burchard/aa
> > --12:25:17--  ftp://80.198.12.199/pub/hans.burchard/aa
> >         => `aa'
> > Connecting to 80.198.12.199:21... connected.
> > Logging in as anonymous ... Logged in!
> > ==> SYST ... done.    ==> PWD ... done.
> > ==> TYPE I ... done.  ==> CWD /pub/hans.burchard ... done.
> > ==> PASV ...
> > 
> > and then hangs.
> > If I do a normal anonymous ftp I can download the file OK.
> 
> Have you tried other hosts? It could be that the host you are trying
> to connect to can only accept active ftp (passive ftp requires it to
> open a port to allow an extra connection from your host). Try a
> different host and see if that works.

The man page seems to indicate that "active" is the default.

       --passive-ftp
           Use the passive FTP retrieval scheme, in which the
           client initiates the data connection.  This is
           sometimes required for FTP to work behind fire-
           walls.


-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"It is easier to lead men to combat, stirring up their passion,
than to restrain them and direct them toward the patient labors
of peace."
Andre Gide

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: