Click or drag to resize
EasyFileUploadExtensionsBaseEasyUploadDocument Method (FileCabinet, IFileUploadInfo, DocumentIndexField)
Uploads array of files as new document.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.9
Syntax
C#
[GeckoAttribute]
public static Document EasyUploadDocument(
	FileCabinet fileCabinet,
	IFileUploadInfo[] files,
	params DocumentIndexField[] indexFields
)

Parameters

fileCabinet
Type: DocuWare.Platform.ServerClientFileCabinet
The file cabinet.
files
Type: DocuWare.Services.Http.ClientIFileUploadInfo
The files.
indexFields
Type: DocuWare.Platform.ServerClientDocumentIndexField
The index fields.

Return Value

Type: Document
The uploaded document's metadata.
Remarks
The document is uploaded as optimal as possible. That is, if the document is small enough it is uploaded with a single request. If the file is large, the upload is done chunkwise.
See Also