How to Download a shared file from Dropbox?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
User avatar
AmirJ
Posts: 26
Joined: Tue Sep 03, 2019 9:48 am

How to Download a shared file from Dropbox?

Post by AmirJ » Mon Dec 30, 2019 9:15 am

How to Download a shared file from Dropbox or Google Drive?
I try whit Dropbox api, But i can not :(

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: How to Download a shared file from Dropbox?

Post by dhylands » Mon Dec 30, 2019 4:41 pm

When I share a dropbox file, I normally get a link which winds up looking something like this: https://www.dropbox.com/s/rpl59i017zblg ... at.py?dl=0

Sometimes, it works better to replace the dl=0 at the end of the URL with dl=1

User avatar
AmirJ
Posts: 26
Joined: Tue Sep 03, 2019 9:48 am

Re: How to Download a shared file from Dropbox in esp32 and micropython?

Post by AmirJ » Mon Dec 30, 2019 5:05 pm

Thanks

Please give an example in esp32 and micropython if possible.

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: How to Download a shared file from Dropbox?

Post by jimmo » Fri Jan 03, 2020 5:50 am

Can you give an example of what you've tried so far? And when you say shared file, do you mean "shared by link, public access" (i.e. download it like any other URL) or "shared with your account, so you need to log in and then download the file via the API" (i.e. more complicated).

Post Reply