This project is read-only.

Delete Folder is not working

Oct 10, 2013 at 5:56 PM


does not remove the folder

any ideia?
Oct 30, 2013 at 10: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 12:28 PM

The Solution:

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.


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 3:27 PM
It works! Thanks