Join the Conversation: The Dash Community Is Now Open! ✨🎉
Forum Discussion
Gopal B.
10 years agoNew member | Level 1
Create folder automatically during file uploading in C# using Dropbox Core API
Suppose I have a Dropbox account and I want to upload a file in the path "/Client1/2016/filename.txt". There are no folder in my dropbox account either "Client1" or "2016". My requirement is When the file will upload it will automatically create the navigation path folder "Client1/2016/" and upload the file.Is it possible? I'm using the following code for file upload-
RequestResult strReq = OAuthUtility.Put
(
"https://api-content.dropbox.com/1/files_put/auto/",
new HttpParameterCollection
{
{"access_token", "AccessToken"},
{"path", "filepath"},
{"overwrite", "false"},
{"autorename","false"},
{stream}
}
);1 Reply
Replies have been turned off for this discussion
- Steve M.10 years ago
Dropbox Staff
Cross-linking with http://stackoverflow.com/questions/37656680/create-folder-automatically-during-file-uploading-in-c-sharp-using-dropbox-core on Stack Overflow.
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!