DataSourceFileSystemProvider.UploadFile(FileManagerFolder, String, Stream) Method
Implements a file upload.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
public override void UploadFile(
FileManagerFolder folder,
string fileName,
Stream content
)
Parameters
Name | Type | Description |
---|---|---|
folder | FileManagerFolder | A FileManagerFolder object that is a folder where the file is being uploaded. |
fileName | String | A string value specifying the files name. |
content | Stream | A Stream that is the file content. |
Remarks
The UploadFile method implements uploading a file when the default DataSourceFileSystemProvider is used.
If you create a custom file system provider inherited from the DataSourceFileSystemProvider class, you can override the UploadFile method to perform any custom actions when an end-user uploads a file.
See Also