Saves file to the disk.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- siteName
- Type: System String
Site name
- guid
- Type: System String
File GUID
- fileName
- Type: System String
File name
- fileExtension
- Type: System String
File extension
- fileData
- Type: CMS.Core BinaryData
File data (byte[] or Stream)
- deleteOldFiles
- Type: System Boolean
Indicates whether files in destination folder with mask '[guid]*.*' should be deleted
- synchronization (Optional)
- Type: System Boolean
Indicates if this function is called from "ProcessTask"
Return Value
Type: StringReturns the path to the file on the disk
See Also