Basic No-Frills 10 MB Test Download
This demonstration shows a basic download of a 10 MB file without any extra options. The code shown below was run when this page loaded. The
startDLM HTML elements are already defined on this page.
Click the Start download link to run the test download. 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, and in that case you'll be prompted to agree to the end user license agreement (EULA) while installing the client.
After the download completes, you'll be asked if you want to open the file -- this is the default behavior. The test file won't run or open, of course.
DLMHelper.uploadEnabled = true; var url = "http://client.akamai.com/install/test-objects/10MB.bin"; var dlm = new DLM(DLMCID, url, null, "dlmContainer", "startDLM"); dlm.downloadPath = "prompt"; dlm.originOnly = false;