CMISDownloadFile

Download a file that is on the CMIS server to a local hard disk.

Member of namespace

CMISClient

Syntax

bool CMISDownloadFile(string cmisFileToDownload, string fullFileNameTarget)

Parameters

cmisFileToDownload
Type: string
fullFileNameTarget
Type: string

Parameters

  • cmisFileToDownload : The file, with the full path, to download from the CMIS repository.
  • fullFileNameTarget : The path and file name for the downloaded file. Smart parameters are supported for all parameters.

Returns

Returns True, if the download is successful. Otherwise, False.

Level:

All levels.

Details

Downloads a file from the CMIS repository to a local hard disk. The file in the repository is not changed. If the target file exists, it is overwritten.
Example:
CMISDownloadFile("/MyCMISDir/MyCMISFile.txt", "c:\MyLocalDir\MyLocalFile.txt")       

Downloads a copy of the file MyCMISFile.txt and names it MyLocalFile.txt on the local system.