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.

Discuss Dropbox Developer & API

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

Way to have a Dropbox folder selector

Way to have a Dropbox folder selector

IlikeToDevelopS
Explorer | Level 4

Hi there!

So just wondering if there is a package or feature that can get a user's dropbox folder and upload documents to that file path using an api POST call to upload a document?

For more information a package or function that has a pop up window, allows user to select a folder, then when user uses my app and they decide to upload then it uses that upload path.

Thanks!

3 Replies 3

Re: Way to have a Dropbox folder selector

Greg-DB
Dropboxer

[Cross-linking for reference: https://stackoverflow.com/questions/55032762/dropbox-selector-just-for-folders ]

Based on your description, the closest thing we offer is the "Dropbox Saver":

https://www.dropbox.com/developers/saver 

If that isn't quite what you're looking for, you'd need to build your own UI for selecting the folder and and code for uploading files using the API.

Re: Way to have a Dropbox folder selector

IlikeToDevelopS
Explorer | Level 4

Thanks for the reply!

Okay, is there a way to get a list of folders for a user's dropbox? say I want to get all folders from a user, is there an api call or any documentation that supports this feature/function?

Thanks Greg

Re: Way to have a Dropbox folder selector

Greg-DB
Dropboxer

Yes, to list the contents of a connected user's account, you should use the /2/files/list_folder[/continue] methods:

To list the root, use the empty string "" as the path value. 

Note that these methods will also list files too, but you can filter those out client-side.

Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:

https://www.dropbox.com/developers/documentation

Those have corresponding native methods for the HTTPS endpoints. 

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    IlikeToDevelopS Explorer | Level 4
What do Dropbox user levels mean?
Need more support?