GetFolders

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.

Note: This information is intented for programmers interested in modifying the CKFinder core.
If you are interested in installing/configuring CFKinder, please take a look at the Developer's Guide.

GetFolders

Gets the list of the children folders of a folder.

Sample Request

Get child folders from the /Docs/ folder of the resource type “Images”.

connector.php?command=GetFolders&type=Images&currentFolder=%2FDocs%2F

Sample Response

<?xml version="1.0" encoding="utf-8"?>
<Connector resourceType="Images">
 <Error number="0" />
 <CurrentFolder path="/" url="/userfiles/images/Docs/" acl="255" />
 <Folders>
 <Folder name="Earth" hasChildren="false" acl="255" />
 <Folder name="Flowers" hasChildren="false" acl="255" />
 <Folder name="Moon" hasChildren="true" acl="255" />
 <Folder name="繁體中文字" hasChildren="false" acl="255" />
 </Folders>
</Connector>

Note that the folder names may contain non ASC-II chars, like the following example with Chinese characters.

This page was last edited on 14 May 2010, at 21:04.