View Single Post
Old 11-18-2013, 04:04 PM   #5
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
ok partial sucess. I logged in by using your bash then the script on the same line - followed prompts and was sucessful in that. Next I tried the dropShell script and had a problem - so I'll try to get that next.

Thanks for the bash - I looked but didn't find. Or I did it differently this time.

ok modified scripts to keep login info using HOME env variable. dropbox_uploader.sh works fine and can list files on dropbox, and download. Great there. Still issue with dropShell.sh

OK dropShell uses readlink which is also part of busybox, so my question - it looks like the one script would be fine to upload/download/list files:

Dropbox Uploader v0.12.1
Andrea Fabrizi - andrea.fabrizi@gmail.com

Usage: ./dropbox_uploader.sh COMMAND [PARAMETERS]...

Commands:
upload [LOCAL_FILE/DIR] <REMOTE_FILE/DIR>
download [REMOTE_FILE/DIR] <LOCAL_FILE/DIR>
delete [REMOTE_FILE/DIR]
move [REMOTE_FILE/DIR] [REMOTE_FILE/DIR]
copy [REMOTE_FILE/DIR] [REMOTE_FILE/DIR]
mkdir [REMOTE_DIR]
list <REMOTE_DIR>
share [REMOTE_FILE]
info
unlink

Optional parameters:
-f [FILENAME] Load the configuration file from a specific file
-s Skip already existing files when download/upload. Default: Overwrite
-d Enable DEBUG mode
-q Quiet mode. Don't show messages
-p Show cURL progress meter
-k Doesn't check for SSL certificates (insecure)

For more info and examples, please see the README file.


why bother with the Shell thing? This can all run with kterm, right?

Last edited by brianinmaine; 11-18-2013 at 04:16 PM.
brianinmaine is offline   Reply With Quote