cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to download all files using python sdk?

Is it possible to download all files using python sdk?

pyraxic
Helpful | Level 5

Is it possible to download all files from my dropbox account using Python sdk?

https://dropbox-sdk-python.readthedocs.io

1 Accepted Solution

Accepted Solutions

Re: Is it possible to download all files using python sdk?

Greg-DB
Dropboxer
5 Replies 5

Re: Is it possible to download all files using python sdk?

Greg-DB
Dropboxer

Yes, you can use the Python SDK to download files using the files_download method:

https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.files_d...

You need to call that once per file you want.

You can list the files using files_list_folder and files_list_folder_continue:

https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.files_l...
https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.files_l...

Re: Is it possible to download all files using python sdk?

lekha
Explorer | Level 3

why the links can't open ?.all links show error messege.

Re: Is it possible to download all files using python sdk?

Greg-DB
Dropboxer

@lekha Thanks for letting me know. It looks like the documentation link format changed. I edited my post with the new correct ones.

Re: Is it possible to download all files using python sdk?

pii_dee
New member | Level 2

I want filtered data like downloading the latest 10 files from a directory. How it can be done?

 

Re: Is it possible to download all files using python sdk?

Здравко
Super Collaborator | Level 20

Hi @pii_dee,

Using rules pointed in the solution above, you can list folder(s) you want and receive files list there together with all accessible files attributes. Now you can reorder and filter all entries in received list according rules you want. Finally go further and download selected subset of the files list (again, using guides above - the example). 😉

Hope this helps.

 

Add: One example you can follow/get idea.

Who's talking

Top contributors to this post

  • User avatar
    Здравко Super Collaborator | Level 20
  • User avatar
    pii_dee New member | Level 2
  • User avatar
    Greg-DB Dropboxer
  • User avatar
    lekha Explorer | Level 3
What do Dropbox user levels mean?
Need more support?