Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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:

C#
public object FileSystem(FileSystemCommand command, string arguments) {
    if(command == FileSystemCommand.Download) {
        // ...
    }
}

#Concepts

#Online Demo

#Online Example

See Also