(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{CKFinder_SSI_Warning}} | ||
== The Commands == | == The Commands == | ||
Line 5: | Line 6: | ||
<br> | <br> | ||
− | * [[ | + | * [[/Init|Init]]: this is the first command issued by CKFinder. It returns the general settings of the connector and all configured resource types. |
− | * [[ | + | * [[/GetFolders|GetFolders]]: gets the list of the children folders of a folder. |
− | * [[ | + | * [[/GetFiles|GetFiles]]: similar to the above command, gets the list of the children files of a folder. |
− | * [[ | + | * [[/CreateFolder|CreateFolder]]: creates a child folder. |
− | * [[ | + | * [[/RenameFolder|RenameFolder]]: renames a folder. |
− | * [[ | + | * [[/DeleteFolder|DeleteFolder]]: deletes a folder. |
− | * [[ | + | * [[/RenameFile|RenameFile]]: renames a file. |
− | * [[ | + | * [[/DeleteFile|DeleteFile]]: deletes a file. |
− | * [[ | + | * [[/FileUpload|FileUpload]] (non XML): adds a file in a folder. |
− | * [[ | + | * [[/QuickUpload|QuickUpload]] (non XML): adds a file in a folder. |
− | * [[ | + | * [[/DownloadFile|DownloadFile]] (non XML): downloads a file from the server. |
+ | * [[/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. |
Latest revision as of 08:21, 28 May 2010
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.
- QuickUpload (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.