<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=CKFinder_2.x%2FServer_Side_Integration%2FThe_Commands%2FGetFiles</id>
		<title>CKFinder 2.x/Server Side Integration/The Commands/GetFiles - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=CKFinder_2.x%2FServer_Side_Integration%2FThe_Commands%2FGetFiles"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_2.x/Server_Side_Integration/The_Commands/GetFiles&amp;action=history"/>
		<updated>2026-04-05T20:10:11Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_2.x/Server_Side_Integration/The_Commands/GetFiles&amp;diff=3031&amp;oldid=prev</id>
		<title>Wiktor: Created page with '{{CKFinder_2.x_SSI_Warning}} == GetFiles ==  Gets the list of files in a folder.  === Sample Request ===  Get files from the /Docs/ folder of the resource type “Images”. &lt;pre…'</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_2.x/Server_Side_Integration/The_Commands/GetFiles&amp;diff=3031&amp;oldid=prev"/>
				<updated>2010-05-14T20:05:02Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{CKFinder_2.x_SSI_Warning}} == GetFiles ==  Gets the list of files in a folder.  === Sample Request ===  Get files from the /Docs/ folder of the resource type “Images”. &amp;lt;pre…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{CKFinder_2.x_SSI_Warning}}&lt;br /&gt;
== GetFiles ==&lt;br /&gt;
&lt;br /&gt;
Gets the list of files in a folder.&lt;br /&gt;
&lt;br /&gt;
=== Sample Request ===&lt;br /&gt;
&lt;br /&gt;
Get files from the /Docs/ folder of the resource type “Images”.&lt;br /&gt;
&amp;lt;pre&amp;gt;connector.php?command=GetFiles&amp;amp;amp;type=Images&amp;amp;amp;currentFolder=%2FDocs%2F&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Sample Response ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;Connector resourceType=&amp;quot;Files&amp;quot;&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;Error number=&amp;quot;0&amp;quot; /&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;CurrentFolder path=&amp;quot;/&amp;quot; url=&amp;quot;/userfiles/images/Docs/&amp;quot; acl=&amp;quot;255&amp;quot; /&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;Files&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;File name=&amp;quot;File 1.jpg&amp;quot; date=&amp;quot;200703280036&amp;quot; size=&amp;quot;111&amp;quot; /&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;File name=&amp;quot;Another.gif&amp;quot; date=&amp;quot;200705192236&amp;quot; size=&amp;quot;1588&amp;quot; /&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;File name=&amp;quot;測試1.jpg&amp;quot; date=&amp;quot;200703280015&amp;quot; size=&amp;quot;35&amp;quot; /&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/Files&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/Connector&amp;amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that the file names may contain non ASC-II chars, like the following example with Chinese characters.&lt;br /&gt;
&lt;br /&gt;
The “date” attribute correspond to the time of last file modification in the format YYYYMMDDHHmm, where:&lt;br /&gt;
&lt;br /&gt;
* YYYY&amp;amp;nbsp;: Year (4 digits)&lt;br /&gt;
* MM&amp;amp;nbsp;: Month (2 digits with padding zero)&lt;br /&gt;
* DD&amp;amp;nbsp;: Day (2 digits with padding zero)&lt;br /&gt;
* HH&amp;amp;nbsp;: Hour (24 hours format - 2 digits with padding zero)&lt;br /&gt;
* mm&amp;amp;nbsp;: Minute (2 digits with padding zero)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;The “size” attribute is in kilobytes. If size is greater than 0 and less than 1024 bytes, return 1:&lt;br /&gt;
&amp;lt;pre&amp;gt;if ($size &amp;amp;amp;&amp;amp;amp; $size&amp;amp;lt;1024) {&lt;br /&gt;
 $size = 1;&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
 $size = (int)round($size / 1024);&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
(sample implementation in PHP)&lt;/div&gt;</summary>
		<author><name>Wiktor</name></author>	</entry>

	</feed>