

I was using “sudo crontab -e” but obviously the Dropbox-Uploader.sh script was ran as pi, therefore any cron job that was set using “sudo crontab -e” won’t work as its not the correct user. One thing that I did stumble on (and is documented in the readme.md (but hey, who reads those?!) was setting up the crontab job. 31 * * * * /home/pi/Dropbox-Uploader/dropbox_uploader.sh upload “/home/pi/cron.log” “/Apps/cron.log” I can then use the IP to amend my openvpn file to the correct IP address.

#Share large files dropbox crack update
I was trying to get my Pi to update my home external IP address so I can connect back via VPN.įor anyone interested here is my crontab, nothing fancy, basically it uses wget to retrieve my external IP address and create a log file with it, then Dropbox-Uploader.sh uploads that to my Dropbox App folder. Thanks for the tutorial, really helped me, I was trying to use a dynamic DNS host but it wouldn’t work. Photofile = “./dropbox_uploader.sh upload /home/pi/” + newest + “Code/Pi” #tried with and without specifying filename to place Newest = max(glob.iglob(‘*.jpg’), key=os.path.getctime) Even tried an os.chdir in the script to get around this, thusly: For some reason if I initiate the shell script while not in the Dropbox-Uploader folder, I get the same result: requesting the app key. Dropbox-uploader works great when I call it from command line, but when I try to do so within a script, I am prompted to enter the app key as if I’ve not linked the app. YAY! :) Posted by alex at 7:34 am Tagged with: Dropbox_uploader on pi, RasPiCamcorder dropbox upload, Using DropBox with Raspberry Piġ71 Responses to “How to use DropBox with Raspberry Pi” …and change SHOW_PROGRESSBAR=0 to SHOW_PROGRESSBAR=1 Nano /home/pi/Dropbox-Uploader/dropbox_uploader.sh I’ve now found out you can put the progress bar back in if you edit the file… Patience, and monitoring “top” for the curl command threw some light on things. I redid the “linking with dropbox” process 3 times, thinking it wasn’t working, before I thought to try a smaller file and found that it was working OK. I don’t know where the progress bar has gone, but it is sorely missed. I installed dropbox uploader on a new setup and for ages I thought that it wasn’t working, when in fact it was just uploading a 30 Mb file and was taking about 10 minutes to do it on a slow connection. There is no longer a progress bar by default when you are uploading. The DropBox upload photo part starts at 5m 7s. Here’s what it looks like in action, taking a photo and uploading to DropBox automatically. I’ll jump through a couple of hoops for something that cool. Yes you have to jump through a couple of hoops, but to be able to take a photo and see it on my PC, phone or Nexus 7 tablet within 30 seconds is pretty darned cool. Photofile = "/home/pi/Dropbox-Uploader/dropbox_uploader.sh upload /home/pi/photo00001.jpg photo00001.jpg"Īnd, if you look at the DropBox Uploader documentation, there’s a lot more commands you can make use of… …or use it in a Python script like this… from subprocess import call This will upload the file you choose to your DropBox account. dropbox_uploader.sh upload /home/pi/name_of_upload_file name_of_upload_file Now you can use DropBox Uploader on your Raspberry Pi… Your DropBox account connected to your “app” 4. You should now see three files, one of which is called dropbox_uploader.sh. You should be able to see a directory called Dropbox-Uploader
#Share large files dropbox crack install
(If this fails, you may need to install git with sudo apt-get install git-core) Next, you need to get Dropbox Uploader onto your Pi Hop on over to DropBox and get one – it’s free. DropBox accountįirst of all you need a DropBox account. You do have to jump through a couple of hoops to get it set up (security mostly), but once you’ve done that, it’s a breeze. So I did a little research and came across an absolute gem of a program called Dropbox-Uploader, by Andrea Fabrizi.Ī truly brilliant piece of work that gives you access to your DropBox account right from the command line. I wanted to be able to upload photos from my RasPiCamcorder straight to DropBox.
