![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2020
Device: iPad
|
Force download for large file size
Is it possible to force downloading books/comics that exceed a certain file size on the server instead of allowing online reading? I have some fairly large comics with file sizes above 1GB which simply doesn't work for online reading and causes problems because the caches reach their quotas.
For people who don't know how to clear the cache it can be really irritating because they're unable to read anything else online. On a side note, I've been struggling to display the file size in a human readable format. I tried using the human-readable template function to display the file size for those files, but it always displays the same string. Shouldn't it work by using?: Code:
Size: {size:human_readable()} |
![]() |
![]() |
![]() |
#2 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,110
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie Edit: How to increase browser cache size Quote:
Last edited by gbm; 06-24-2020 at 05:23 PM. |
||
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,911
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
{:'human_readable(booksize())'} |
|
![]() |
![]() |
![]() |
Tags |
file size, formatting, function, server, template |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to force calibre to download only the Kindle ASIN? | Jake Chambers | Library Management | 12 | 06-03-2017 01:19 PM |
Check book 'omits' message about large file (File browser) | chaot | Editor | 1 | 06-02-2016 01:33 PM |
Touch Any way to force a download sync? | Matth79 | Barnes & Noble NOOK | 0 | 12-21-2014 11:50 AM |
How to force calibre to download images? | fenuks | Recipes | 6 | 02-10-2012 12:55 PM |
Force Download | face | Nook Color & Nook Tablet | 11 | 01-16-2011 06:10 AM |