Subject: Re: ftp auto fetch
To: D'Arcy J.M. Cain <darcy@NetBSD.org>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 02/28/2003 16:57:40
On Fri, Feb 28, 2003 at 12:18:56AM -0500, D'Arcy J.M. Cain wrote:
| 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.
The web site is broken if it expects the client program to return a
particular string before allowing a download...
| If it is a http URI then wouldn't you expect it to require http to access?
ftp *does* use HTTP to retrieve http:// arguments on the command line.
| > Is there any way to make ftp lie and call itself something like
| > "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"?
Not at this time, and I'm unlikely to find the motivation to add
support for this. Try using a dedicated http retrieval tool such as
wget, which supports faking the user-agent.