Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
tojo71 (Guest)
tojo71 (Guest)
I have posted some downloadable files in .zip file format. When I test out the purchasing process through paypal, I can generate the link to send to the customer. Problem is, when I send the link to the customer's email, they end up getting a link that saves the file download.php, not the zip file. However, when they save the download.php, they can change the file extension to .zip and the file works correctly. But this isn't the proper way for this cart to function. How do I get the file to be downloaded with the .zip extension, not .php???????
 
I'm tearing my hair out over here.
 
Rob
 
Last modified: 10 Jul 2006 4:31 PM
 
Vito
Vito
Here can be problem with IE and server settings how they handle http headers.
By default in the download.php we set following header with original filename:
 
header("Content-Disposition: attachment; filename=$filename");
 
But if you server use zlib compression the IE doesn't correctly handle this header and in this case you can try add following code before 'header' lines to disable it:
 
if(ini_get('zlib.output_compression')) {
ini_set('zlib.output_compression', 'Off');
}
 
Thanks,
ViArt Support Team