MediaFileInfoProvider SaveFileToDiskInternal Method Kentico 8.0 API Reference
Saves media file to disk and returns the applied file path.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

siteName
Type: OnlineSystem String
Name of the site of the media library
libraryFolder
Type: OnlineSystem String
Media library root folder
librarySubFolderPath
Type: OnlineSystem String
Subfolder path
fileName
Type: OnlineSystem String
Name of the file
fileExtension
Type: OnlineSystem String
Extension of the file
fileGuid
Type: OnlineSystem Guid
File GUID
fileData
Type: CMS.Core BinaryData
File data
synchronization
Type: OnlineSystem Boolean
Indicates if method is running by web farms synchronization
ensureUniqueFileName
Type: OnlineSystem Boolean
Indicates if unique file name should be ensured
skipChecks
Type: OnlineSystem Boolean
Skip check for file path and ensuring physical file path
filePath
Type: OnlineSystem String
File path
fileSubFolderPath
Type: OnlineSystem String
File subfolder path

Return Value

Type: OnlineString
See Also