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 block size should not be more than 4MB (4,194,304). Before M-Files 23.3, using a block size of larger than 4MB may cause unexpected behavior, including exceptions, depending upon the underlying storage. From M-Files 23.3, M-Files will throw an exception if the block size is larger than 4MB.
The byte offset from the beginning of the file.
Description
Retrieves a specific block of the specified file from the server (uses 32-bit arguments).
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 block size should not be more than 4MB (4,194,304). Before M-Files 23.3, using a block size of larger than 4MB may cause unexpected behavior, including exceptions, depending upon the underlying storage. From M-Files 23.3, M-Files will throw an exception if the block size is larger than 4MB.
Offset
The byte offset from the beginning of the file.
Remarks
For the download session to be closed, the combined size of the blocks must exceed the actual size of the file.
This method version is intended to be used in development environments with no support for 64-bit data types.
This method is available only if M-Files API is used in the server interface mode.