07-27-2010, 12:55 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2010
Device: iPhone
|
When download .epub file,it becomes .zip??
I uplorded .epub to my server(hostmonster)
but when it comes to download it from my page. somehow it becomes .zip It seems like server make it in a zip?? Epub is itself a zip. if it put epub in a zip then its one zip file in another zip file. I use FTP to upload .epub to my server. Does anybody know the solution?? thanks in advance. |
07-27-2010, 08:06 AM | #2 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
You need to configure your webserver to report the correct mimetype for epubs.
If you're using Apache, add the line Code:
AddType application/epub+zip .epub If you're using IIS, this page explains how to set mimeptypes. |
Advert | |
|
07-29-2010, 10:05 AM | #3 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2010
Device: iPhone
|
Thanks!
It really helps me!
Thanks for great information. Quote:
|
|
07-29-2010, 11:22 AM | #4 |
Wizard
Posts: 2,742
Karma: 32912427
Join Date: Feb 2008
Location: North Yorkshire, UK
Device: Kobo H20, Pixel 2, Samsung Chromebook Plus
|
This happens to me with my magazines from Fictionwise. I just rename the file with an epub extension and it works fine.
Graham |
07-29-2010, 03:21 PM | #5 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Just to be certain, even though the web server certainly should be set up to serve the file with the appropriate mimetype, it’s only Internet Explorer that actually renames the file upon download, right? Sensible browsers don’t rename files.
Another on a long list of reasons not to use that sad excuse for a browser. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bad Zip file | theducks | Calibre | 12 | 09-09-2018 10:58 AM |
epub insists in downloading as zip file | Sherten | General Discussions | 9 | 10-03-2010 10:18 PM |
Mobileread Books in a ZIP file? | Logseman | Feedback | 6 | 07-08-2010 05:45 PM |
Free ePub books from fictionwise come up as zip file? | superstitious | ePub | 8 | 09-17-2009 11:30 PM |
iLiad Newbie Question on updates (V2.12 and zip file) | Teneflin | iRex Developer's Corner | 2 | 02-10-2008 10:05 PM |