You can configure the file storage in Site Manager -> Settings -> Files.
The following options can be set on the page:
Store files in file system |
Indicates if files should be stored in the file system. |
||||||||
Store files in database |
Indicates if files should be stored in the database. |
||||||||
Generate thumbnails |
Indicates if the CMS generates image thumbnails on the disk when a resized version of the image is displayed. This option only applies if files are stored in the file system. It improves site performance. |
||||||||
Files folder |
The folder on the disk where document attachments and metafiles are stored. You can use:
If you do not specify any value, the files are stored in folder ~/<site code name>/files. |
||||||||
BizForm files folder |
Folder where files uploaded via BizForms are stored. If no value is entered, BizForm files are stored in ~/<site code name>/BizFormFiles. |
||||||||
Maximum file size to cache |
Specifies the maximum size of a file in kilobytes that is allowed to be cached. |
||||||||
Redirect files to disk |
If checked, file requests are redirected to the physical file in the file system if possible. |
||||||||
Upload extensions |
Allowed file extensions for the uploaded files. You can restrict the types of uploaded documents to (e.g. ‘gif;jpg;doc;pdf’). It allows you to block users from uploading potentially dangerous files, such as ASPX scripts. If no value is specified, all types of files can be uploaded. |
||||||||
Check if files are published |
If checked, only files that are in the Published workflow step can be accessed from the live site when a workflow is applied to the document. |
||||||||
Check files permissions |
If checked, document permissions are applied to the files. |
||||||||
File import folder |
Path to the source folder where files to be imported by the File import should be uploaded before import. If no value is entered, ~/CMSImportFiles is used by default. |
||||||||
Automatic image resize on upload (width, height, max side size) |
Depending on which values you fill in, the functionality is the following when uploading images:
More info can be found in Handling images -> Resizing images on upload. |
Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?files_related_settings.htm