Click or drag to resize
EasyFileUploadExtensionsBaseEasyUploadSingleDocument Method (FileCabinet, IFileUploadInfo, Document)
Uploads the specified file as new document to a basket.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.9
Syntax
C#
[EagleAttribute]
public static Document EasyUploadSingleDocument(
	FileCabinet fileCabinet,
	IFileUploadInfo file,
	Document documentMetaData
)

Parameters

fileCabinet
Type: DocuWare.Platform.ServerClientFileCabinet
The file cabinet.
file
Type: DocuWare.Services.Http.ClientIFileUploadInfo
The file.
documentMetaData
Type: DocuWare.Platform.ServerClientDocument
The document meta data. Currently only the fields are used.

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