I've created a content type that upload files .epub on database. Now for some reason (to use epub on a mobile app) I need to get the file .epub uncompressed.
It's like in my content type I upload a .zip file but when drupal store it it's stored unzipped.
Did someone knows a Drupal API function or a method that uncompress or unzip a .epub files?
Note that when I upload an .epub file or .jpg image or any other type of extensions, in the table file_managed I always get filemime : "application/octet-stream"? is it normal ?