M-Files API 22.6.11519.0
UploadFileCommit Method
VaultObjectFileOperations Object : UploadFileCommit Method
The identifier of the upload operation returned by UploadFileBlockBegin.
The total logical size of the file as a 64-bit integer.
Description
Commits the upload operation of the specified file.
Syntax
Visual Basic
Public Sub UploadFileCommit( _
   ByVal UploadID As Long, _
   ByVal File As Long, _
   ByVal FileVersion As Long, _
   ByVal LogicalSize As Unknown _
) 
Parameters
UploadID
The identifier of the upload operation returned by UploadFileBlockBegin.
File
FileVersion
LogicalSize
The total logical size of the file as a 64-bit integer.
Remarks

This method is available only if M-Files API is used in the server interface mode.

Note

This method requires support for 64-bit data types. Use UploadFileBlockCommit_32bit in development environments that do not support these data types such as VBScript.

Development environment should not be confused with the operating system: This method can be used in 32-bit operating systems.

See Also

VaultObjectFileOperations Object  | VaultObjectFileOperations Members