What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Dropbox Uploader Script stops when closing SSH client - Solution?

michi84

New Around Here
Because dropbox support seems to be broken in AiCloud, i have bee experimenting with Andrea Fabrizis dropbox uploader BASH script. I can get it to authenticate and run via SSH (Putty), it creates ist own Folder and Transfers data, but when i close Putty (because the whole point is to be able to do unattended uploads of large files without having to keep a Computer running) the script stops immediately.

Is this normal, or am i possibly missing something? Do i have to terminate the SSH session in a special way to keep the script running? Or is this something that needs to be adressed by the script author?

All i want to do is the following: Manually specify a Folder which should be uploaded to dropbox. Perhaps i have to set up a cron job to call the script at some specific time?
 
If you have entware/optware installed edit the services-start script in /jffs/scripts to include an additional line;

/path/to/your/scripts/myscript.sh

(you could do this by entering echo "/path/to/your/scripts/myscript.sh" >> /jffs/scripts/services-start via ssh)

or simply start the script via ssh and include an & at the end of the command to detach it from the running shell at execution eg;

/path/to/your/scripts/myscript.sh&
 
Perhaps setup a cron job?
 
Thanks, setting up a cron job did the trick.

BTW, i get much more upload speed with the script than with AiCloud, which often dropped to almost zero every couple of minutes. Also, AiCloud did not accept files larger than 2 GB, now there seems to be no limit (testet it with one hour of DV-AVI Video, about 13 GB).
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top