![]() ![]() The new version of UPSPack V3 Plus (V3P) is applicable to the whole series of Raspberry Pi. This entry was posted in 3.4 RaspberryPi(草莓電腦) and tagged Raspberrypi. If we upload “license” & “license1” files to Dropbox, it will show the result as below:įinally, if you look at the DropBox Uploader documentation, there’s a lot more commands you can make use of… Photofile = “/home/pi/Dropbox-Uploader/dropbox_uploader.sh upload /home/pi/photo00001.jpg photo00001.jpg” This will upload the file you choose to your DropBox account. dropbox_uploader.sh upload /home/pi/upload_file_fr name_of_upload_file_to Now you can test to upload from Raspberry Pi to DropBox Please open the following URL in your browser, and allow Dropbox Uploader to access your DropBox folder:įinally, your DropBox account connected to your “app”īesides Raspberry Pi operation, you also need to allow the access of Dropbox from Raspberry Pi as below two screens: When your new App is successfully created, please type theĪpp Key, App Secret and the Permission type shown in the confirmation page:Īpp folder : If you choose that the app only needs access to files it createsįull Dropbox : If you choose that the app needs access to files already on DropboxĪpp key is 0pmq2laok7tinna, App secret is d5fh2kgyd2uyftx and Access level is App Folder. This is the first time you run this script.ġ) Open the following URL in your Browser, and log in using your account: Ģ) Click on “Create App”, then select “Dropbox API app”ģ) Now go on with the configuration, choosing the app permissions and access restrictions to your DropBox folderĤ) Enter the “App Name” that you prefer (e.g. ![]() Remote: Total 718 (delta 0), reused 0 (delta 0), pack-reused 718 The following is the whole setup screen dump from my Raspberry Pi for your $ git clone Once you’ve entered your keys and answered the question “app” or “full”, your Pi will request an authorisation token and you will be given a web URL you need to visit to activate it… Now you need to enter your app’s DropBox API keys and secret. You need to give your app a unique name, and you will be assigned some keys to go with the name. Sorting out the DropBox API keys and authorization. ![]() If access right problem still occurs, run the following command: dropbox_uploader.sh (if it fails, try chmod +x dropbox_uploader.sh) ![]() 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 Rpi ups dropbox install#(If this fails, you may need to install git with sudo apt-get install git-core) $ cd ~ (this ensures you are in /home/pi) Then choose “Dropbox API app”, “Files and Datastores”, and answer the final question “Can your app be limited to its own, private folder?” – either answer is OK, depending on your needs. You then need to visit this link, login to DropBox and create an “app” by clicking the “create app” button. Setup DropBox account and apps from webįirst of all you need a DropBox account and apps account through the following links. The following will show you a a installation program and its setup steps. If you want to upload file from or to DropBox through Raspberry Pi, it is easy to do so. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |