Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I am using the DropBox .net sdk in my project and I have a Folder "Test" and file "TestFile" in this folder in my dropbox ,now i am trying to download this "TestFile" by using the following code by passing folder="Test",file="TestFile" :
async Task Download(DropboxClient dbx, string folder, string file) { using (var response = await dbx.Files.DownloadAsync(folder + "/" + file)) { Console.WriteLine(await response.GetContentAsStringAsync()); } }
But now i am getting the following error:
You need a slash at the beginning of the path.
Thanks @Steve M.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!