pbdownload is a simple Pocketbook Inkview application for
downloading the contents at a given URL to a given file
location in the reader.  The URL and filename can be
passed in as command-line arguments for use in a script,
or if they are left out, then the user will be prompted
for them via keyboard dialogs.  A connection timeout and
POST data can be defined via command-line arguments.

pbdownload.app-Pro-360+ is for use with the PocketBook Pro
and 360+ models, and pbdownload.app-3XX is for the older
3XX models.  Copy the file to /mnt/ext1/applications
and rename it to pbdownload.app, and then it can be
started via the Applications tab to download books,
programs, scripts,... from websites directly to the
device without the need of sideloading via a desktop
computer.


The following options can be passed in when pbdownload
is called in a shell script:

-u <URL>
-f <output-file-path>
-t <timeout-secs>   (default is 60)
-p <POST-data>

-h    Shows the usage for the command.

Example:

> pbdownload.app \
   -u "http://www3.telus.net/rkomar/edit-epub/edit-epub.app" \
   -f "/mnt/ext1/system/bin/edit-epub.app"
