Saves media file to disk and returns the applied file path.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- siteName
- Type: System String
Name of the site of the media library
- libraryFolder
- Type: System String
Media library root folder
- librarySubFolderPath
- Type: System String
Subfolder path
- fileName
- Type: System String
Name of the file
- fileExtension
- Type: System String
Extension of the file
- fileGuid
- Type: System Guid
File GUID
- fileData
- Type: CMS.Core BinaryData
File data
- synchronization
- Type: System Boolean
Indicates if method is running by web farms synchronization
- ensureUniqueFileName
- Type: System Boolean
Indicates if unique file name should be ensured
- skipChecks
- Type: System Boolean
Skip check for file path and ensuring physical file path
- filePath
- Type: System String
File path
- fileSubFolderPath
- Type: System String
File subfolder path
Return Value
Type: StringSee Also