Tab

CloudFileSystemProviderBase.GetDownloadUrl(FileManagerFile[]) Method

Override this method to implement file downloading.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public virtual string GetDownloadUrl(
    FileManagerFile[] files
)

Parameters

Name Type Description
files FileManagerFile[]

A list of FileManagerFile objects that are the files to download.

Returns

Type Description
String

A String value specifying the URL of the files to download.

Remarks

If you create a custom file system provider inherited from the CloudFileSystemProviderBase class, you can override the GetDownloadUrl method to get a download URL. When an end-user asks to download a file, a download URL should be generated where the requestor is redirected.

By default, the method has no implementation, and should be overridden if file downloading is allowed (the FileManagerSettingsEditing.AllowDownload property is set to true).

See Also