Skip to main content

FileManagerExtension.DownloadFiles(FileManagerSettings, String) Method

Returns the binary content of downloaded files from the FileManager with the specified settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public static FileStreamResult DownloadFiles(
    FileManagerSettings settings,
    string rootFolder
)

Parameters

Name Type Description
settings FileManagerSettings

A FileManagerSettings object that is the file manager settings.

rootFolder String

A String value that specifies the root folder to which the FileManager extension is bound.

Returns

Type Description
FileStreamResult

A FileStreamResult object that is a binary content sent in response.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DownloadFiles(FileManagerSettings, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also