setDownloadURL

sets the url to the server for downloading files

void setDownloadURL(string url);

Parameters

urlstringthe url to the server

Example

//{serverName} will be replaced by serverName attr returned by server on file upload
myVault.setDownloadURL("../server/download.php?fileName={serverName}");

Related samples

Details

This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.

Change log

added in version 2.4

Back to top