Sean Davis wrote:
I have a simple question:

I have a file that is a tar.gz file that I want download to the user when a form is submitted. The file is static and I know how to set headers, etc., for download. Is there a specific header type for tar.gz files (so that the browser will try to uncompress, etc.)? How do I need to print such a file so as to maintain the compressed format (do I need to set to binary, etc.)?

Thanks,
Sean



You can always find the correct content type by searching apache-mime.types file

Binary transfer is only for FTP. HTTP has only one type.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to