Upload Button

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.

(Article updated to CKFinder 2.1 Help)
(Article updated to CKFinder 2.1 Help)
Line 23: Line 23:
  
  
== Upload Steps ==
+
== Multiple File Upload ==
 +
By default CKFinder will allow you to upload multiple files at the same time. In order to send the files to the server, follow the steps described below.
 +
 
 +
''Step 1:'' Click the '''Upload''' toolbar button to open the '''Upload Pane'''.
 +
 
 +
''Step 2:'' When the '''Upload Pane''' expands, choose the '''Add Files''' button. A native file selection dialog window of your operating system that opens will let you choose the local file to be uploaded to the server.
 +
 
 +
<note>You can choose as many files as you want by selecting them in the dialog window all at once.
 +
</note>
 +
 
 +
 
 +
''Step 3:'' The local file(s) will now be added to the upload queue. If you want to add further files to this upload batch, click the '''Add Files''' button again and repeat the steps described above.
 +
 
 +
[[Image:CKFinder_upload_03.png|frame|center|Upload queue in CKFinder]]
 +
 
 +
 
 +
''Step 4:'' If you change your mind about the files that should be sent to the server, you can always either remove individual files from the upload queue by clicking the '''Remove''' button next to the file, or decide to cancel the whole upload process by choosing the '''Cancel''' button of the ''' Upload Pane'''.
 +
 
 +
''Step 5:'' If you are ready with the file selection process, you can click the '''Upload''' button to start the upload. The progress of the whole process as well as individual files can be observed on the screen.
 +
 
 +
[[Image:CKFinder_upload_04.png|frame|center|Multiple file upload progress]]
 +
 
 +
 
 +
''Step 6:'' Wait for the upload to terminate. Once it is completed, the folder content will refresh and the uploaded file will be selected in the '''[[CKFinder_2.x/Users_Guide/CKFinder_Interface/Files_Pane|Files Pane]]'''.
 +
 
  
# Select the file from your computer by using the "'''Browse..."'''button. The text in the button may vary from browsers, but it will always be right after the "Select the file to upload" field.
 
# Click the "'''Upload Selected File'''" button. A message will appear, indicating that the upload is in progress.
 
# Wait for the upload to terminate. Once completed, the Upload Pane will close automatically, and the uploaded file will be selected in the [[CKFinder_2.x/Users Guide/CKFinder Interface/Files Pane|Files Pane]].
 
  
 
== Upload Messages ==
 
== Upload Messages ==

Revision as of 07:29, 2 December 2011

The Upload button that is available in the CKFinder Toolbar opens the Upload Pane which you can use to add new files to the current folder.

The figure below presents the default file browser Upload Pane that is expanded when you click the toolbar button.

Flash Upload Panel in CKFinder


In order to close (collapse) the Upload Pane, press the Cancel button or click the Upload toolbar button once again.

important note

Upload is a technical term that stands for the action of sending the files from your local computer to a central computer (also known as a server).


Upload Pane Versions

CKFinder Upload Pane comes in two flavors, depending on your environment. By default, the multiple upload solution (that lets you send more files to the server in one operation) is used for all environments that support Adobe Flash. If, however, your local system does not support Flash, you will still be able to upload individual files in separate operations thanks to the fallback solution.

The figure above presents the default Upload Pane with multiple upload solution enabled. For all systems that do not support Flash (including some mobile browsers) the following Upload Pane format will be used.

Single file Upload Panel in CKFinder


Multiple File Upload

By default CKFinder will allow you to upload multiple files at the same time. In order to send the files to the server, follow the steps described below.

Step 1: Click the Upload toolbar button to open the Upload Pane.

Step 2: When the Upload Pane expands, choose the Add Files button. A native file selection dialog window of your operating system that opens will let you choose the local file to be uploaded to the server.

important note

You can choose as many files as you want by selecting them in the dialog window all at once.


Step 3: The local file(s) will now be added to the upload queue. If you want to add further files to this upload batch, click the Add Files button again and repeat the steps described above.

Upload queue in CKFinder


Step 4: If you change your mind about the files that should be sent to the server, you can always either remove individual files from the upload queue by clicking the Remove button next to the file, or decide to cancel the whole upload process by choosing the Cancel button of the Upload Pane.

Step 5: If you are ready with the file selection process, you can click the Upload button to start the upload. The progress of the whole process as well as individual files can be observed on the screen.

Multiple file upload progress


Step 6: Wait for the upload to terminate. Once it is completed, the folder content will refresh and the uploaded file will be selected in the Files Pane.


Upload Messages

The following are messages that may appear when uploading files:

The uploaded file has been renamed

A file with the same name is already available. The uploaded file has been renamed to "filename(1).ext"

Indicates that the uploaded file name is already in use by another file in the same folder. To avoid conflict, a progressive number, the "(1)", has been appended to the original name.

Invalid file

The uploaded file has not been accepted.

The most common cause for this messages is that CKFinder has been configured to not accept the kind of file you are trying to upload, based on its extension. This is a security restriction. Another cause of it may be that the file size is too big for your system. In this case the server must be configured to accept bigger files.

Please contact your system administrator to have more information regarding the accepted file types and their size limits.

The file contains HTML like data

The uploaded file contains HTML code. For security reasons, only files with selected extensions are allowed to contain HTML code.