Subject: Re: ftp auto fetch
To: Ian Harding <tech-pkg@netbsd.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 02/28/2003 00:18:56
On Friday 28 February 2003 00:12, Ian Harding wrote:
> I am trying to fetch files from an HTTP server that is misconfigured. It
> returns 400 Bad Request if the browser name doesn't have start with
> "Mozilla". ftp identifies itself, sensibly, as "NetBSD-ftp/....".
What makes you say that it is mis-configured. If it is a http URI then
wouldn't you expect it to require http to access?
> Is there any way to make ftp lie and call itself something like
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"?
Have you tried wget? I am assuming you want a CLI and not a GUI.
--
D'Arcy J.M. Cain <darcy@netbsd.org>
http://www.NetBSD.org/