PhysicalFileSystemProvider.UploadFile(FileManagerFolder, String, Stream) Method
In This Article
Implements a file upload.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public override void UploadFile(
FileManagerFolder folder,
string fileName,
Stream content
)
#Parameters
Name | Type | Description |
---|---|---|
folder | File |
A File |
file |
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 PhysicalFileSystemProvider is used.
If you create a custom file system provider inherited from the PhysicalFileSystemProvider class, you can override the UploadFile method to perform any custom actions when an end-user uploads a file.
See Also