Document file I/O for server components (IRPCDocumentOperationsFileIOInternal)

View as Markdown

Server-to-server variants of file upload commit and file size checks.

gRPC serviceMFiles.IRPCDocumentOperationsFileIOInternal
Book and levelServer integration API, specialized
Methods2
Proto filemfiles/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

MethodSummaryFacts
GetFileOutlineGets the size and MD5 checksum of a file version.internal: not for applications write session or assertion returns metadata structure version
UploadFileCommit2Completes 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