MetaFileInfoProviderSaveFileToDisk Method (String, String, String, String, BinaryData, Boolean) |
Save file to the disk.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax protected static string SaveFileToDisk(
string siteName,
string guid,
string fileName,
string fileExtension,
BinaryData fileData,
bool deleteOldFiles
)
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
Return Value
Type:
StringSee Also