[Xitami] targeting file downloads
Martin Bleisteiner
xitami@lists.xitami.org
Tue, 07 Jun 2005 21:39:21 +0200
This is a multi-part message in MIME format.
--------------040404030403020608080404
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
>>>Why not use a ftp link insted of a http link to the file.
>>>
>>>
>>An ftp link will open the file the same way an http link will.
>>
>>
>What a strange browser your visitors must be using; an FTP server has no
>capability of sending a Content-Type header, so it's purely a binary (or
>text) stream to the client end.
>A browser has absolutely no right to invent its own concept of a
>Content-Type, *especially* when acting as an FTP client.
>
>
Every browser gets to know the file name from the server, including the
file ending. The browser may decide what to do with the downloaded file,
dependent on the user settings. Maybe the settings are to open the file
immediately using the default application according to the file ending.
Opera and MSIE do so.
Martin
--------------040404030403020608080404
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid60129@dsl.co.uk" type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Why not use a ftp link insted of a http link to the file.
</pre>
</blockquote>
<pre wrap="">An ftp link will open the file the same way an http link will.
</pre>
</blockquote>
<pre wrap=""><!---->What a strange browser your visitors must be using; an FTP server has no
capability of sending a Content-Type header, so it's purely a binary (or
text) stream to the client end.
A browser has absolutely no right to invent its own concept of a
Content-Type, *especially* when acting as an FTP client.
</pre>
</blockquote>
Every browser gets to know the file name from the server, including the
file ending. The browser may decide what to do with the downloaded
file, dependent on the user settings. Maybe the settings are to open
the file immediately using the default application according to the
file ending. Opera and MSIE do so.<br>
<br>
Martin<br>
</body>
</html>
--------------040404030403020608080404--