On Tue, 10 Apr 2001, Ray Olszewski wrote:
> <sigh> This really should be a FAQ answer.
What a gaping hole. I could have sworn it was on lrp.c0wz.com, but I
cannot find it.
> The Web server tells the browser what type of file a download is. For
> our purposes here, the important types are text and binary. It's
> common for Web servers to have text as their default types, and to use
> a list of filename extensions to classify downloads. Since ".lrp" is
> not on any Web server's out-of-the-box list of file extensions, it
> often gets sent as the default "text" type.
>
> Downloads to Unix/Linux systems typically survive this mistake.
> Downloads to Windows systems typically do not because, for text-file
> downloads, the browser converts Unix newlines (\n) to Windows newlines
> (\r\n). This makes real text files much easier to work with on Windows
> systems, but ruins binary files that are being downloaded as text.
>
> Netscape exhibits this problem because Netscape is polite and follows
> the html standards. So if a Web server says a file is text, trusting
> old Netscape believes it and (for .lrp files) makes a mess. Cynical
> Microsoft Internet Explorer, in contrast, knows full well that the
> world is full of misconfigured servers, weird file extensions, and the
> like ... so it applies some sort of test to the actual bitstream it
> receives to decide whether it really is text or binary [I don't know
> the details of this test - does anyone?].
I thought there was a better link for this info, but this is all I can
find at the moment.
http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.asp
> Consequently, the download problem only shows up under these three conditions:
>
> 1. The source site has failed to add ".lrp" to its mime-type list
> (the list that identifies files that are not the default
> type).
> 2. The download is going to a Windows workstation.
> 3. The Windows worstation is using Netscape.
>
> There is no "fix" except to change one of the above 3 conditions.
>From the user's point of view, the easiest solution is for the server to
be configured properly. Next is to use IE, unless they have somehow
managed to disable it.
[...]
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<[EMAIL PROTECTED]> Basics: ##.#. ##.#. Live Go...
Work:<[EMAIL PROTECTED]> Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...2k
---------------------------------------------------------------------------
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel