CloudFileSystemProviderBase.GetDownloadUrl(FileManagerFile[]) Method
Override this method to implement file downloading.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual string GetDownloadUrl(
FileManagerFile[] files
)
#Parameters
Name | Type | Description |
---|---|---|
files | File |
A list of File |
#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
).