Demos

downloadName: Set a custom download display name

The downloadName property sets a custom name that is displayed during a DLM download. The code shown below was run when this page loaded. In this example, the downloadName is set to "My Custom Download Name." Also, the dlmContainer and startDLM HTML elements are already defined on this page.

Click the Start download link to run the demonstration. You can pause and restart the download. If you haven't installed the NetSession client, you'll be prompted to download and install it first.

Code


    var url = "http://client.akamai.com/install/test-objects/50MB.bin";
    var dlm = new DLM(DLMCID, url, null, "dlmContainer", "startDLM");
    dlm.downloadPath = "prompt";
    dlm.downloadName = "My Custom Download Name";
              

NetSession Download Manager demonstrations