Is it possible to make my download files anything other than .zip? I am trying to make a .epub file that can be downloaded on a mobile device (e-reader, iPad, etc.). I don't want my customers to have to buy another app to open a .zip file. Any ideas will be greatly appreciated.
Thanks,
Robin
Latest News: (loading..)
Download files
Started by RobinC, Nov 26 2011 05:43 PM
3 replies to this topic
#1
Posted 26 November 2011 - 05:43 PM
#2
Posted 26 November 2011 - 06:46 PM
Robin,
As far as I know, the file extension can be anything you want it to be. I have configured sites that offer .pdf .zip .psd .txt .jpg so I don't think a .epub would be any different.
Chris
As far as I know, the file extension can be anything you want it to be. I have configured sites that offer .pdf .zip .psd .txt .jpg so I don't think a .epub would be any different.
Chris
#3
Posted 26 November 2011 - 08:16 PM
I tried it and when I downloaded the file on my iPad it was a garbled mess of weird characters. I'll check my epub file, but it's the same file I used to transfer it to the iPad. I'll keep playing with it. Thanks for your help.
Robin
Robin
#4
Posted 27 November 2011 - 09:39 PM
Turns out I had to define a mimetype in the .htaccess file on my server so that it would recognize that the .epub file was not a text file.
I had to define .epub files with the following application/epub+zip
Maybe this will help someone else who had the same issues.
I had to define .epub files with the following application/epub+zip
Maybe this will help someone else who had the same issues.









