Jump to content



Latest News: (loading..)

Download files


This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1   RobinC

RobinC
  • Members
  • 3 posts

Posted 26 November 2011 - 05:43 PM

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

#2   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,816 posts

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
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#3   RobinC

RobinC
  • Members
  • 3 posts

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

#4   RobinC

RobinC
  • Members
  • 3 posts

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.