M-Files API 22.3.11184.0
DownloadFileInBlocks_ReadBlock Method
VaultObjectFileOperations Object : DownloadFileInBlocks_ReadBlock Method
The identifier of the download operation returned by DownloadFileInBlocks_Begin.
The number of bytes to be read. For the download session to be closed, the combined size of the blocks must exceed the actual size of the file.
The byte offset from the beginning of the file as a 64-bit integer.
Description
Retrieves a specific block of the specified file from the server.
Syntax
Visual Basic
Public Function DownloadFileInBlocks_ReadBlock( _
   ByVal DownloadID As Long, _
   ByVal BlockSize As Long, _
   ByVal Offset As Unknown _
) As Byte()
Parameters
DownloadID
The identifier of the download operation returned by DownloadFileInBlocks_Begin.
BlockSize
The number of bytes to be read. For the download session to be closed, the combined size of the blocks must exceed the actual size of the file.
Offset
The byte offset from the beginning of the file as a 64-bit integer.
Remarks
See Also

VaultObjectFileOperations Object  | VaultObjectFileOperations Members