
Re: Please change your distribution file naming convention.
netik wrote:
Your file naming convention on the thold distribution is broken.
You distribute files named ".gzip" which are actually tar files within gzipped files.
The standard naming convention for this is ".tar.gz".
While programs in Windows (winzip,etc.) might be able to figure out what to do with these files, it's a hassle for us people in the Unix world.
Thanks.
Btw, I've just started using thold and I'm impressed by it, with or without the filename problem. ;)
Actually, this is slightly more complicated than it looks. The link to the file itself is .gzip, but the file isn't a real file. Mod rewrite redirects the request to a custom script I have written that will zip, tar, or tar.gz the files on the fly (using only PHP I might add). The script actually sends the filename header as thold.tar.gz for the filename, so your browser may be ignoring that if it is downloading as .gzip. In all actuality, any of these filenames will work.
Code:
thold.zip
thold.tar
thold.gzip
thold.tar.gz
yet they don't exist as files on the server.
I will ofcourse change the links to the files to use .tar.gz instead, but for most users the file would have downloaded as thold.tar.gz as the http header told it to.
Thanks for making me aware of issues surrounding it!