Re: FTP mime type

From: Evan Champion <evanc@dont-contact.us>
Date: Tue, 25 Feb 1997 12:03:10 -0500 (EST)

On Tue, 25 Feb 1997, Ricardo Galli wrote:

> As I understand, browsers always treat ftp files as text ones if the
> xtension is unknown (or there isn't any). I think is better not to send
> any mime type or send text/plain (you always have the browser's option
> "Save link as..."), so you can interact with the server (i.e. read the
> README files) easily.

Look at src/ftpget.c for:

/* #define DEFAULT_MIME_TYPE "text/plain" */
#define DEFAULT_MIME_TYPE "application/octet-stream"

uncomment the first, comment the second and you'll be all set.

Evan

--
Evan Champion            * Director, Network Operations
mailto:evanc@synapse.net * Directeur, Exploitation du reseau
http://www.synapse.net/  * Synapse Internet
Received on Tue Feb 25 1997 - 09:15:02 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:32 MST