andreafabrizi / Dropbox-Uploader

Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
https://www.andreafabrizi.it/2016/01/01/Dropbox-Uploader/
GNU General Public License v3.0
6.56k stars 1.08k forks source link

initiating dropbox-uploader from PowerShell #585

Open HPWever opened 1 year ago

HPWever commented 1 year ago

I have been using dropbox-uploader happily for many years for downloading and uploading files between my Pi's and my Dropbox folder on my windows PC. Works great!

So far the initiative for an action is always FROM the Pi; now I have a new project where I need the initiative to be from the windows PC (not from the Pi). I have a PowerShell script from which I want to periodically (depending on some parameters) upload a file TO the Pi.

So my question is: how can I use dropbox-uploader for this? Or is this not possible?

frederick19551107 commented 1 year ago

I am unable to upload files from my linux pc through Dropbox Uploader. The following lines are displayed while running the ./dropbox_uploader.sh with option -d. Please give me a solution. Error in call to API function "files/upload": Invalid authorization value in HTTP header "Authorization": "Bearer". Expecting "Bearer ".