aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-filemanagement-a60cf204.md
Lists names of commands that the FileSystemCommandProcessor can process in the file system.
Namespace : DevExtreme.AspNet.Mvc.FileManagement
Assembly : DevExtreme.AspNet.Core.dll
public enum FileSystemCommand
| Name | Description |
|---|---|
GetDirContents |
Gets the directory contents.
|
| CreateDir |
Creates a directory.
|
| Rename |
Renames a file or a folder.
|
| Move |
Moves a file or a folder.
|
| Copy |
Copies a file or a folder.
|
| Remove |
Removes a file or a folder.
|
| UploadChunk |
Uploads a file in chunks using multiple requests.
|
| AbortUpload |
Aborts an upload and deletes a file or a folder.
|
| Download |
Downloads a file.
|
The following example illustrates how to create a method that handles file management operations.
API Controller:
public object FileSystem(FileSystemCommand command, string arguments) {
if(command == FileSystemCommand.Download) {
// ...
}
}
See Also