Document file I/O for server components (IRPCDocumentOperationsFileIOInternal)
Server-to-server variants of file upload commit and file size checks.
| gRPC service | MFiles.IRPCDocumentOperationsFileIOInternal |
|---|---|
| Book and level | Server integration API, specialized |
| Methods | 2 |
| Proto file | mfiles/IRPCDocumentOperationsFileIOInternal.proto |
Overview
For M-Files components only. M-Files Server calls these methods on another M-Files Server when it forwards a file operation of a session that it relays to that server. No M-Files client calls them. Applications should use the public equivalents in IRPCObjectOperations instead:
| Internal method | Use instead |
|---|---|
| UploadFileCommit2 | UploadFileCommit |
| GetFileOutline | GetFileSize, or file_outline of DownloadFile_Begin |
Both methods need a vault session of a login that has a user account in the vault. They return
the vault's metadata structure version in the mfiles-metadata-version-bin trailer.
Methods
| Method | Summary | Facts |
|---|---|---|
| GetFileOutline | Gets the size and MD5 checksum of a file version. | internal: not for applications write session or assertion returns metadata structure version |
| UploadFileCommit2 | Completes an upload made with UploadFile and stores it as the new content of the file; returns only the data file version. | internal: not for applications write session or assertion returns metadata structure version |