cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

How to upload file in dropbox in each and every user using vb.net

How to upload file in dropbox in each and every user using vb.net

Aravindb
Explorer | Level 3

Hi
   I need to upload files to each and every dropbox users using vb.net. There is no interface to allow premission, it just import background. 
For eg : i have 5 dropbox users emails only, for five users i need to upload files and i have my own account and dropbox app also created with my password,so how to import files to that 5 users from my app ?
i have following code to import files to my dropbox only (app created dropbox account), so how to import files to other 5 users.
code Screenshot : http://prntscr.com/s7x4q9  - using this code can import to my dropbox only,so how to allow other user also can get file once import.

Regards,
Aravind 

1 Reply 1

Re: How to upload file in dropbox in each and every user using vb.net

Greg-DB
Dropboxer

In order for an app to upload files to any particular Dropbox account, it needs authorization from the user of that account. To request authorization from the end-user, the app should implement and use the OAuth app authorization flow. (The Dropbox API v2 .NET SDK offers a DropboxOAuth2Helper class for this. There's also an example app that uses it here.)

 

The result of this is an access token for that user's account, which would be in place of the 'xxxxxxx' string seen in your screenshot. Using that access token would allow the app to upload to the user's account. The app only needs to process the OAuth app authorization flow once per user. It can store and re-use each access token for each respective user.

 

Alternatively, if it makes sense for your scenario, you could invite the other users to a shared folder in your account, and then just upload to that shared folder via the API using an access token for your own account, and those files would automatically sync to the other members of the shared folder.

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?