Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
bzsApp 2.
10 years agoNew member | Level 1
Upload to public folder
how to upload files to public folder programmatically (c# or vb.net) ?
thanks
Eytan
6 Replies
- Greg-DB10 years ago
Dropbox Community Moderator
Hi Eytan, you can use the Dropbox API to programmatically upload to the Public folder just like any other folder.
Using the API v2 .NET SDK, for example, you can use the UploadAsync method to upload into the Public folder, e.g., by supplying a path like "/Public/uploadedfile.ext".
- bzsApp 2.10 years agoNew member | Level 1
Hi Gregory
Do I need access token to upload to Public Folder?
If yes , how I can get it ?
Thanks Eytan
- Greg-DB10 years ago
Dropbox Community Moderator
Yes, you need an access token to upload to an account via the API.
If you just need to upload to your own account, you can get an access token for your app-user pair by using the "Generate" button on your app's page on the App Console.
Otherwise, to get an access token for any arbitrary account, you'll need to use the OAuth app authorization flow. The .NET SDK examples show how to implement that.
- bzsApp 2.10 years agoNew member | Level 1
i need to upload to "public" folder in the root folder
but the access token is only for the "Apps" Folder

- Greg-DB10 years ago
Dropbox Community Moderator
It sounds like you registered your app for the "app folder" permission. You'll need to register a new one for the "full Dropbox" permission to access the Public folder:
- bzsApp 2.10 years agoNew member | Level 1
Thanks.
It solved.
Eytan
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!