FileSystemCommand Enum

Lists names of commands that the FileSystemCommandProcessor can process in the file system.

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public enum FileSystemCommand

Members

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.

Remarks

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) {
        // ...
    }
}

Concepts

Online Demo

Online Example

See Also