Re: [squid-users] Problems downloading files from command line

From: Peter Albrecht <[email protected]>
Date: Thu, 17 Mar 2005 09:55:03 +0100

Hi Jose,

> When I try to download a file using wget
>
> wget ftp://ftp.site.com/file-???-x86.exe
>
> I get the following error message
>
> 502 Bad Gateway
>
> Now, if I specify a specific file
>
> wget ftp://ftp.site.com/file-001-x86.exe
>
> it all works great.

Maybe it's because the wildcards are expanded by your shell? By default, you
can't use wildcards with wget. Try

wget --no-glob ftp://ftp.site.com/file-???-x86.exe

Or try to quote the URL.

Hope this helps,

Peter

-- 
Peter Albrecht, Novell, peter.albrecht@novell.com
Received on Thu Mar 17 2005 - 01:55:16 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST