View Single Post
Old 12-03-2012, 08:40 AM   #214
textchimp
Member
textchimp has a complete set of Star Wars action figures.textchimp has a complete set of Star Wars action figures.textchimp has a complete set of Star Wars action figures.
 
Posts: 15
Karma: 250
Join Date: Nov 2012
Device: Kobo Glo
Quote:
Originally Posted by sven View Post
The Kobo is also running a Linux-based OS and has the wget command available. Thus, you can implement your script like on any other Linux box.
Ah, good to know! However I've just tried to run wget without apparent success. Should something like

Code:
Plugin::executeSystemCmd("/bin/wget URL")
do what I want? Will wget be in /bin ? Is there some way to log output from these commands?

Also, where will this downloaded file be saved? I guess I want to save it to the root directory (how do I refer to this internally for a system command?), but then, will the Glo notice that a new file has appeared there and needs to be added to my library, or do I have to manually call some kind of library update?
textchimp is offline   Reply With Quote