download file type changing
Moderator: General Moderators
download file type changing
I have a download for a .tgz on my site but when it pops up it is downloading as a .tar file. Anyone know why this is happening?
I dont know what additional information to provide.
This pops up a file download box...
Do you want to open or save this file?
Name : myFile.tar
Type : Tar archive
OPEN SAVE CANCEL
Why does it download as a tar, when the file is a .tgz? Any idea?
Code: Select all
<a href="files/myFile.tgz">download</a>Do you want to open or save this file?
Name : myFile.tar
Type : Tar archive
OPEN SAVE CANCEL
Why does it download as a tar, when the file is a .tgz? Any idea?
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
this very likely has nothing to do with your page code but your browser and the "default" handling program associated with it.. it may automatically gunzip the file... if the server mistakenly marks the download as gzcompress encoding without compressing it again, it will be decompressed automatically by most browsers...