Tab

DropboxFileSystemProvider.UploadFile(FileManagerFolder, String, Stream) Method

Implements a file upload.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public override void UploadFile(
    FileManagerFolder folder,
    string fileName,
    Stream content
)

Parameters

Name Type Description
folder FileManagerFolder

A FileManagerFolder object that is the folder where the file is being uploaded.

fileName String

A string value specifying the file name.

content Stream

A Stream that is the file content.

Remarks

The UploadFile method implements uploading a file when the DropboxFileSystemProvider is used.

If you create a custom file system provider inherited from the DropboxFileSystemProvider class, you can override the UploadFile method to perform any custom actions when an end-user uploads a file.

See Also