<?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_1.x%2FServer_Side_Integration%2FThe_Commands%2FFileUpload</id>
		<title>CKFinder 1.x/Server Side Integration/The Commands/FileUpload - 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_1.x%2FServer_Side_Integration%2FThe_Commands%2FFileUpload"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Server_Side_Integration/The_Commands/FileUpload&amp;action=history"/>
		<updated>2026-04-30T06:14:33Z</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_1.x/Server_Side_Integration/The_Commands/FileUpload&amp;diff=3591&amp;oldid=prev</id>
		<title>Admin: moved CKFinder/Server Side Integration/The Commands/FileUpload to CKFinder 1.x/Server Side Integration/The Commands/FileUpload</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Server_Side_Integration/The_Commands/FileUpload&amp;diff=3591&amp;oldid=prev"/>
				<updated>2010-05-28T06:46:34Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/CKFinder/Server_Side_Integration/The_Commands/FileUpload&quot; class=&quot;mw-redirect&quot; title=&quot;CKFinder/Server Side Integration/The Commands/FileUpload&quot;&gt;CKFinder/Server Side Integration/The Commands/FileUpload&lt;/a&gt; to &lt;a href=&quot;/CKFinder_1.x/Server_Side_Integration/The_Commands/FileUpload&quot; title=&quot;CKFinder 1.x/Server Side Integration/The Commands/FileUpload&quot;&gt;CKFinder 1.x/Server Side Integration/The Commands/FileUpload&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:46, 28 May 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Server_Side_Integration/The_Commands/FileUpload&amp;diff=1689&amp;oldid=prev</id>
		<title>Wiktor at 14:35, 16 January 2008</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Server_Side_Integration/The_Commands/FileUpload&amp;diff=1689&amp;oldid=prev"/>
				<updated>2008-01-16T14:35:48Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:35, 16 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{CKFinder_SSI_Warning}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== FileUpload ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== FileUpload ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wiktor</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Server_Side_Integration/The_Commands/FileUpload&amp;diff=1656&amp;oldid=prev</id>
		<title>Wiktor: New page: == FileUpload ==  Adds a file in a folder. It generates a POST  === Sample Request ===  Upload a file in the root directory of the resource type “Files”. &lt;pre&gt;connector.php?command=Fil...</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Server_Side_Integration/The_Commands/FileUpload&amp;diff=1656&amp;oldid=prev"/>
				<updated>2008-01-16T13:52:10Z</updated>
		
		<summary type="html">&lt;p&gt;New page: == FileUpload ==  Adds a file in a folder. It generates a POST  === Sample Request ===  Upload a file in the root directory of the resource type “Files”. &amp;lt;pre&amp;gt;connector.php?command=Fil...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== FileUpload ==&lt;br /&gt;
&lt;br /&gt;
Adds a file in a folder. It generates a POST&lt;br /&gt;
&lt;br /&gt;
=== Sample Request ===&lt;br /&gt;
&lt;br /&gt;
Upload a file in the root directory of the resource type “Files”.&lt;br /&gt;
&amp;lt;pre&amp;gt;connector.php?command=FileUpload&amp;amp;amp;type=Files&amp;amp;amp;currentFolder=%2F&amp;lt;/pre&amp;gt;&lt;br /&gt;
The request will be done using POST (instead of GET) and the data will encoded in “multipart/form-data”. Only one field will be posted, named “NewFile”, containing the file uploaded data.&lt;br /&gt;
&lt;br /&gt;
=== Sample Response ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;
 window.parent.OnUploadCompleted( 0, '' )&amp;amp;nbsp;;&lt;br /&gt;
&amp;amp;lt;/script&amp;amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This command doesn’t expect XML to be returned. Actually HTML must return with a &amp;amp;lt;script&amp;amp;gt; tag. The content type must be “text/html”. The &amp;quot;OnUploadCompleted&amp;quot; is a JavaScript function that is called to expose the upload result.&lt;br /&gt;
&lt;br /&gt;
The possible values are:&lt;br /&gt;
&lt;br /&gt;
* OnUploadCompleted( 0 )&amp;amp;nbsp;: no errors found on the upload process.&lt;br /&gt;
* OnUploadCompleted( 1, 'Reason' )&amp;amp;nbsp;: the upload filed because of &amp;quot;Reason&amp;quot;.&lt;br /&gt;
* OnUploadCompleted( 201, 'FileName(1).ext' )&amp;amp;nbsp;: the file has been uploaded successfully, but its name has been changed to &amp;quot;FileName(1).ext&amp;quot;.&lt;br /&gt;
* OnUploadCompleted( 202 )&amp;amp;nbsp;: invalid file.&lt;br /&gt;
&lt;br /&gt;
Note that uploaded file names may contain non ASC-II chars.&lt;/div&gt;</summary>
		<author><name>Wiktor</name></author>	</entry>

	</feed>