Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-07-2017, 06:13 AM   #1
InAFlap
Member
InAFlap began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Mar 2013
Device: Lenovo vibe P1
is it possible to download from webserver with a template

I was able to connect to calibre via USB and had no problem downloading books with the filename in the format I prefer.

{series}_{series_index}_ {title} - {authors}

however my phone now refuses to connect via usb so I have had to start using the webserver. A great solutions by the way, however it does seem to be able to only download the files in a set format.
Is there anyway I can get the files to download with the above naming format

the only other way I can get files onto my phone is by downloading to disk and drop boxing them across which isn't the most elegant solution
cheers in advance for a great program.
InAFlap is offline   Reply With Quote
Old 08-07-2017, 06:38 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The server has no control over where the browser on the phone decides to save files. Servers can send something known as the content-disposition header to try to influence this, but it is up to the client to honor it or not, and it only affects filenames, not folders.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-07-2017, 01:12 PM   #3
InAFlap
Member
InAFlap began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Mar 2013
Device: Lenovo vibe P1
Quote:
Originally Posted by kovidgoyal View Post
The server has no control over where the browser on the phone decides to save files. Servers can send something known as the content-disposition header to try to influence this, but it is up to the client to honor it or not, and it only affects filenames, not folders.
it's really the filename I am more concerned with, I have no problem where the file saves, it is easily moved, but a bit of a pain having to manually change the filename after download.
I tend to keep most of my books on the phone and that is over 500 now.it just makes finding things easier if they are named via series and number first
I guess I could get my phone fixed and go back to using the usb cable, but again dont really have the time to send it off for repair.
InAFlap is offline   Reply With Quote
Old 08-07-2017, 01:47 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,502
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
If it's an android or iOS phone purchase calibre companion.

Sent from my Nexus 7 using Tapatalk
PeterT is offline   Reply With Quote
Old 08-07-2017, 11:23 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I dont think this is generally possible to do. The problem is that HTTP headers should be ascii only for maximum compatibility see for example https://stackoverflow.com/questions/...header-in-http

As PerterT said, if you want to browse large colelctions of downloaded books on your device, you should really get hold of some app that can understand ebook metadata. There are many apps that know how to talk to the calibre content server.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-08-2017, 04:42 AM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by PeterT View Post
If it's an android or iOS phone purchase calibre companion.
To clarify, CC Android supports file naming using templates in all of its connection types: Wireless Device, Content Server, and Cloud. However, CC iOS does not support templates because (apparently) browsing the file system isn't something one does on an iOS device.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre WebServer Log Morphzan Calibre 1 06-08-2013 08:33 AM
Content Server Download Template Maggie-Me Calibre 2 07-01-2012 01:42 PM
Calibre webserver and Dropbox OakdaleMike Related Tools 10 03-30-2012 07:56 PM
Problem with webserver ganymede Calibre 3 01-09-2010 12:09 PM
Lamppix Live Webserver CD Colin Dunstan Lounge 0 06-11-2004 03:35 AM


All times are GMT -4. The time now is 07:27 PM.


MobileRead.com is a privately owned, operated and funded community.