We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
kdss-ja
3 years agoExplorer | Level 3
How to share files with App
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 o...
kdss-ja
3 years agoExplorer | Level 3
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)
Greg-DB
Dropbox Community Moderator
3 years agoThe 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.
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!