geometer / FBReaderJ

Official FBReaderJ project repository
http://www.fbreader.org/FBReaderJ/
1.83k stars 802 forks source link

.zip appended to epub file when sharing to Google Drive #305

Open proski opened 9 years ago

proski commented 9 years ago

The local book path is

/storage/emulated/0/Books/epubbud.com/download.php_g=DJXH7WHX.epub

Selecting Share, selecting Drive (i.e. Google Drive). The Document title is set by default to Fahrenheit 451, not changing it. The file is uploaded under the name Fahrenheit 451.zip

Even Fahrenheit 451.epub.zip would be better, as it would preserve information about the file format.

FBReader 2.3.2 on Samsung Galaxy S4 with CyanogenMod 11-20150302-NIGHTLY.

geometer commented 9 years ago

Just curious: how do you know that "The file is uploaded under the name Fahrenheit 451.zip"?

proski commented 9 years ago

Oops, sorry! The file on drive.google.com is called Fahrenheit 451 (drive.google.com shows that name), but when I download it, I get Fahrenheit 451.zip

Extensions for other files are shown. So it's Google Drive that is adding .zip on download.

Still, adding the .epub extension would be great. If I change the title in the "Save to Drive" dialog to Fahrenheit 451.epub, the file is uploaded and downloaded under that name and .zip is not added.