[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hunt the Wumpus
- Subject: Re: Hunt the Wumpus
- From: Andy McFadden <fadden@fadden.com>
- Date: 09 May 2008 14:38:59 GMT
- Newsgroups: comp.sys.apple2
- Organization: faddenInternet, Inc.
- References: <48228d1f$0$34534$742ec2ed@news.sonic.net> <1q0mcblbpq0gm.15h5utrz5q67u$.dlg@40tude.net>
- User-agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/2.6.22-14-generic (i686))
- Xref: g2news2.google.com comp.sys.apple2:9444
Jeff Blakeney <jeff.blakeney@a2central.com.remove-gtj-this> wrote:
> I just downloaded the MDC listings but they seem to be uncompressed text
> files with a .gz extensions so when I transferred them, the line feeds
> were not converted to carriage return/line feed (which I believe is
> something HTTP transfers will do) and I had to rename the files to be
> able to open them.
>
> Is there a reason this was done or did something go amiss?
They're stored this way because, combined, they're 20MB and compress down
to 2MB. Most browsers will display the content directly, uncompressing the
gzip on the fly, something that usually doesn't happen for formats like .zip.
The result is a file that should be as easily accessible as uncompressed
text, but can be downloaded in 1/10th of the time.
The ".gz" file extension should not be retained by the browser unless you
download the file, in which case it should still be in gzip format. Anything
that can uncompress gzip should also know how to convert line terminators.
--
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/