Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I've created a new drop box app
and followed example to connect and upload directory and files
but the files and directories aren't visible to other users?
How to create the files so that other users I give the app to can connect and save and upload new files?
I'm using
var response = await client.Files.UploadAsync("/DotNetApi/" + subFolder + "/" + fileName, WriteMode.Overwrite.Instance, body: stream);
using (var response = await client.Files.DownloadAsync("/DotNetApi/" + szTemplate + "/" + file.Name))
which works on my computer
but when using another user computer says path not found
not sure how to setup the folder as shared ??
thanks
I'll be happy to help with any issues you're having with the Dropbox API/SDK, but I'll need some more information. Please reply with:
Hi
My app is working on my computer fine.. but when installed on another users computer the
command
var list = await client.Files.ListFolderAsync("/DotNetApi/" + szTemplate);
returns path not found
When looking at the files in Windows Explorer or on Drop box it says the files / folders are only accessible to myself
(so, I was wondering if I need to set them to shared or something?)
using Dropbox.Api (6.37.0)
The Dropbox API/SDKs, such as the Dropbox .NET SDK you're using, list files by communicating with the Dropbox API servers, not the local filesystem.
If the ListFolderAsync method is raising a path/not_found error, that indicates that there is nothing found at the specified path in the connected account. In this case, that would be the path identified by `/DotNetApi/" + szTemplate`, and the account for whichever access token/refresh token you're using in that particular installation.
To list the root, you can call ListFolderAsync and instead specify a path value of the empty string "".
If you need to check which account you're connected to, you can use the GetCurrentAccountAsync method.
The File Access Guide may also be helpful for information on how interacting with files via the Dropbox API works.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
Sound good? Let's get started.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 Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!