MetaFileInfoProviderSaveFileToDisk Method (String, String, String, String, BinaryData, Boolean, Boolean) |
Saves file to the disk.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax public static string SaveFileToDisk(
string siteName,
string guid,
string fileName,
string fileExtension,
BinaryData fileData,
bool deleteOldFiles,
bool synchronization
)
Parameters
- siteName
- Type: SystemString
Site name - guid
- Type: SystemString
File GUID - fileName
- Type: SystemString
File name - fileExtension
- Type: SystemString
File extension - fileData
- Type: CMS.CoreBinaryData
File data (byte[] or Stream) - deleteOldFiles
- Type: SystemBoolean
Indicates whether files in destination folder with mask '[guid]*.*' should be deleted - synchronization
- Type: SystemBoolean
Indicates if this function is called from "ProcessTask"
Return Value
Type:
StringSee Also