We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Natasha A.
10 years agoNew member | Level 1
Need a custom web-page where students upload files into a teacher's Dropbox. I use Dropbox for Business and created a web-page with upload files from my web-page to my dropbox folder with API/C#/OAuth2, what about other people uploading into my folder?
Natasha A.
10 years agoNew member | Level 1
Hello Greg
If you can be so kind to test this link https://netcert.fullerton.edu/dropboxfiles/ to let me know what I need to fix.
For now, it's just creates a folder in another user Dropbox and upload the file. Nothing gets into my folder.
string serverPath = System.IO.Path.GetFileName(FileUpload1.FileName);
var result = OAuthUtility.Put
(
"https://content.dropboxapi.com/1/files_put/auto/CSUF_test121/System.IO.Path.GetFileName(FileUpload1.FileName)",
new HttpParameterCollection
{
{ "access_token", token },
{ "overwrite", "true" },
{ "path", serverPath },
{ FileUpload1.PostedFile }
}
);
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!