(New page: == RenameFolder == Renames a folder. === Sample Request === Renames the folder /My Folder/, of the resource type “Files” to “Another Name”. <pre>connector.php?command=RenameFold...) |
m (moved CKFinder/Server Side Integration/The Commands/RenameFolder to CKFinder 1.x/Server Side Integration/The Commands/RenameFolder) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{CKFinder_SSI_Warning}} | ||
== RenameFolder == | == RenameFolder == | ||
Latest revision as of 07:46, 28 May 2010
RenameFolder
Renames a folder.
Sample Request
Renames the folder /My Folder/, of the resource type “Files” to “Another Name”.
connector.php?command=RenameFolder&type=Files¤tFolder=%2FMy%20Folder%2F&NewFolderName=Another%20Name
Note that “currentFolder” contains the complete path of the folder.
Sample Response
<?xml version="1.0" encoding="utf-8"?> <Connector resourceType="Files"> <Error number="0" /> <CurrentFolder path="/My Folder/" url="/userfiles/files/My Folder/" acl="255" /> <RenamedFolder newName="Another Name" newPath="/Another Name/" newUrl="/userfiles/files/Another Name/" /> </Connector>
Note that folder names may contain non ASC-II chars.