Delete Folder is not working

Oct 10, 2013 at 4:56 PM
Hi

oCloudStorage.DeleteFileSystemEntry("/test")

does not remove the folder

any ideia?
Oct 30, 2013 at 9:47 AM
I have the same problem. I tried these two solutions:

*** SOLUTION 1 ***
ICloudFileSystemEntry fsEntry = _dropBoxStorage.GetFileSystemObject("test", _dropBoxStorage.GetFolder("/"));
bool isRemoved = _dropBoxStorage.DeleteFileSystemEntry(fsEntry);

*** SOLUTION 2 ***
bool isRemoved = _dropBoxStorage.DeleteFileSystemEntry("/test");

Both of instructions set isRemoved variable to TRUE, but the folder appairs yet.
It works with files.
Oct 30, 2013 at 11:28 AM
hi

The Solution: https://www.dropbox.com/developers/reference/devguide

App permissions

With File type permission, your app sees a filtered view of a user's Dropbox containing only the files which match your selected type. All other files simply don't appear to your app through the API. That means faster performance because you don't spend time fetching information about files you don't need. Your app can see all the user's folders, and even create new folders, but can't move, copy, delete, or share folders (since they might contain files your app can't see).

Your app can also read and write datastores using the Datastore API.

Solution:

Use Full Dropbox

You get full access to all the files and folders in a user's Dropbox, as well as permission to read and write datastores using the Datastore API.

Your app should use the least privileged permission it can. When applying for production, we'll review that your app doesn't request an unnecessarily broad permission.
Oct 30, 2013 at 2:27 PM
It works! Thanks