FileSystemCommand Enum
In This Article
Lists names of commands that the FileSystemCommandProcessor can process in the file system.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public enum FileSystemCommand
#Members
Name | Description |
---|---|
Get
|
Gets the directory contents. |
Create
|
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. |
Upload
|
Uploads a file in chunks using multiple requests. |
Abort
|
Aborts an upload and deletes a file or a folder. |
Download
|
Downloads a file. |
#Remarks
The following example illustrates how to create a method that handles file management operations.
API Controller:
C#
public object FileSystem(FileSystemCommand command, string arguments) {
if(command == FileSystemCommand.Download) {
// ...
}
}
#Concepts
#Online Demo
#Online Example
See Also