M-Files API 23.11.13135.0
DownloadFileEx Method
VaultObjectFileOperations Object : DownloadFileEx Method
The file ID number.
The version number of the file to be downloaded.
The full path of the file to be stored.
Specifies the file format to download.
Description
Downloads the content of the specified file from the server to the specified path.
Syntax
Visual Basic
Public Sub DownloadFileEx( _
   ByVal File As Long, _
   ByVal FileVersion As Long, _
   ByVal FilePath As String, _
   ByVal FileFormat As MFFileFormat _
) 
Parameters
File
The file ID number.
FileVersion
The version number of the file to be downloaded.
FilePath
The full path of the file to be stored.
FileFormat
ValueDescription
MFFileFormatDisplayOnlyPDFPDF for display purposes only (printing, copying, etc. disabled).
MFFileFormatNativeNative file format.
MFFileFormatPDFPDF.
Specifies the file format to download.
Remarks
This method is available only if M-Files API is used in the server interface mode.
See Also

VaultObjectFileOperations Object  | VaultObjectFileOperations Members