-
Best practice to check if a folder exists in .NET?
Hi there! I'm asking myself what's the best practice to check if a folder exists, because I made a fudge in the meanwhile and the performance is not optimal. I'm giving the option to our users to overwrite or not the desired uploading file. I actually perform a DropboxClient.Files.SearchAsync with a try catch and if it…
-
Facing problems getting the Access Token from a user on Windows Form
Hi there: I actually asked this on StackOverflow but I got no answer yet. The thing is that I'm trying to generate the access token from the user but I can't "capture" the generated token and I'm afraid that asking for permission generates a new access token everytime, so the previous one remains invalid. The point is that…
-
Getting the shared link using the deprecated GetSharedLinksAsync(path)
Hi there! I'm facing problems retrieving a shared link which is already created. I'm basically trying to "create" the Shared Link every time I upload a file and storing that URL on a DB but I'm stuck on the "shared_link_aready_exists" part. I'm using the .NET API and I tried to use the…
-
Deleting a file using a Shared Link through the API
Hi there: I'm brand new with the Dropbox API for .NET and I've made my steps forward. The thing is that we want to work with shared links in terms of deleting files. I know I can use the DropboxClient.Files.DeleteAsync(remoteRoute); That would delete the file if I know the route it has, but... What about if I just know the…