The Commands"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: == The Commands == The current CKFinder throws several commands to the server side connectors. All commands expect XML formatted responses, with a few expections: <br> * [[Editing CKFin...)
 
Line 5: Line 5:
 
<br>
 
<br>
  
* [[Editing CKFinder/Server Side Integration/The Commands/Init|Init]]: this is the first command issued by CKFinder. It returns the general settings of the connector and all configured resource types.
+
* [[CKFinder/Server Side Integration/The Commands/Init|Init]]: this is the first command issued by CKFinder. It returns the general settings of the connector and all configured resource types.
* [[Editing CKFinder/Server Side Integration/The Commands/GetFolders|GetFolders]]: gets the list of the children folders of a folder.
+
* [[CKFinder/Server Side Integration/The Commands/GetFolders|GetFolders]]: gets the list of the children folders of a folder.
* [[Editing CKFinder/Server Side Integration/The Commands/GetFiles|GetFiles]]: similar to the above command, gets the list of the children files of a folder.
+
* [[CKFinder/Server Side Integration/The Commands/GetFiles|GetFiles]]: similar to the above command, gets the list of the children files of a folder.
* [[Editing CKFinder/Server Side Integration/The Commands/CreateFolder|CreateFolder]]: creates a child folder.
+
* [[CKFinder/Server Side Integration/The Commands/CreateFolder|CreateFolder]]: creates a child folder.
* [[Editing CKFinder/Server Side Integration/The Commands/RenameFolder|RenameFolder]]: renames a folder.
+
* [[CKFinder/Server Side Integration/The Commands/RenameFolder|RenameFolder]]: renames a folder.
* [[Editing CKFinder/Server Side Integration/The Commands/DeleteFolder|DeleteFolder]]: deletes a folder.
+
* [[CKFinder/Server Side Integration/The Commands/DeleteFolder|DeleteFolder]]: deletes a folder.
* [[Editing CKFinder/Server Side Integration/The Commands/RenameFile|RenameFile]]: renames a file.
+
* [[CKFinder/Server Side Integration/The Commands/RenameFile|RenameFile]]: renames a file.
* [[Editing CKFinder/Server Side Integration/The Commands/DeleteFile|DeleteFile]]: deletes a file.
+
* [[CKFinder/Server Side Integration/The Commands/DeleteFile|DeleteFile]]: deletes a file.
* [[Editing CKFinder/Server Side Integration/The Commands/FileUpload|FileUpload]] (non XML): adds a file in a folder.
+
* [[CKFinder/Server Side Integration/The Commands/FileUpload|FileUpload]] (non XML): adds a file in a folder.
* [[Editing CKFinder/Server Side Integration/The Commands/DownloadFile|Downloadfile]] (non XML): downloads a file from the server.
+
* [[CKFinder/Server Side Integration/The Commands/DownloadFile|Downloadfile]] (non XML): downloads a file from the server.
* [[Editing CKFinder/Server Side Integration/The Commands/Thumbnail|Thumbnail]] (non XML): downloads the thumbnail of an image file.
+
* [[CKFinder/Server Side Integration/The Commands/Thumbnail|Thumbnail]] (non XML): downloads the thumbnail of an image file.
  
 
<br>
 
<br>
  
 
All security and ACL checks must be done before executing any of the above commands. For ACL related attributes, see “ACL – Access Control List” later in this documentation.
 
All security and ACL checks must be done before executing any of the above commands. For ACL related attributes, see “ACL – Access Control List” later in this documentation.

Revision as of 15:19, 16 January 2008

The Commands

The current CKFinder throws several commands to the server side connectors. All commands expect XML formatted responses, with a few expections:


  • Init: this is the first command issued by CKFinder. It returns the general settings of the connector and all configured resource types.
  • GetFolders: gets the list of the children folders of a folder.
  • GetFiles: similar to the above command, gets the list of the children files of a folder.
  • CreateFolder: creates a child folder.
  • RenameFolder: renames a folder.
  • DeleteFolder: deletes a folder.
  • RenameFile: renames a file.
  • DeleteFile: deletes a file.
  • FileUpload (non XML): adds a file in a folder.
  • Downloadfile (non XML): downloads a file from the server.
  • Thumbnail (non XML): downloads the thumbnail of an image file.


All security and ACL checks must be done before executing any of the above commands. For ACL related attributes, see “ACL – Access Control List” later in this documentation.