View Single Post
Old 01-19-2012, 06:24 PM   #5
abijah
Enthusiast
abijah plays well with othersabijah plays well with othersabijah plays well with othersabijah plays well with othersabijah plays well with othersabijah plays well with othersabijah plays well with othersabijah plays well with othersabijah plays well with othersabijah plays well with othersabijah plays well with others
 
Posts: 28
Karma: 2692
Join Date: Jul 2011
Device: kobo aura h2o
Quote:
The simplest way to do this is probably to write a shell script to download the URL source file first from a fixed location, then read that file and run pbdownload.app for each pair of URL/output file inside it.
Yeah, you are right. A shell script should be enough.

But, but I don't even know how to write a script and run on the device. I tried an app:
"pbdown.app":
#!/bin/sh

/mnt/ext1/applications/pbdownload.app \
-u "ftp://192.168.0.5/1.txt"
-f "/mnt/ext1/1.txt"

And just as I expected it --failed.

Oh, how much I need your enlightenment on writting script.
abijah is offline   Reply With Quote