M-Files API 23.11.13135.0
DownloadFile Method
VaultObjectFileOperations Object : DownloadFile Method
The file ID number.
The version number of the file to be downloaded.
The full path of the file to be stored.
Description
Downloads the content of the specified file from the server to the specified path.
Syntax
Visual Basic
Public Sub DownloadFile( _
   ByVal File As Long, _
   ByVal FileVersion As Long, _
   ByVal FilePath As String _
) 
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.
Remarks
This method is available only if M-Files API is used in the server interface mode.
See Also

VaultObjectFileOperations Object  | VaultObjectFileOperations Members