Discuss this help topic in SecureBlackbox Forum

Clouds: Rename or move folder

To rename or move a folder use TElDropboxDataStorage.RenameObject() method. To move a folder pass the absolute paths to the folder being moved and the folder, which will become a new parent for the moved folder, to RenameObject() method:

C#:


storage.RenameObject(@"/Parent1/Parent2/Folder", @"/Parent3/Parent4/Folder");

If you already have an object of TElDropboxDataStorageObject class, which represents a folder, that you want to move, then you can use its Rename() method.

C#:


folder.Rename(@"/Parent3/Parent4/Folder");

To rename a folder without moving, pass the absolute path as it exists now, and the absolute path as it will look like after renaming:

C#:


storage.RenameObject(@"/Parent1/Parent2/Folder", @"/Parent1/Parent2/NewName");

How To articles about Dropbox cloud

Discuss this help topic in SecureBlackbox Forum