FileDownloader.TimeOut Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Timeout of the HTTP connection.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var fd = new FileDownloaderWriter("FileDownloaderID", 610, 500);
//...other params...
fd.addParam("TimeOut", "0");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setTimeOut(value);
value = getFileDownloader("FileDownloaderID").getTimeOut();

Property Value

A non-negative integer value that specifies an HTTP timeout (in milliseconds). If 0, the timeout is infinite (i.e. disabled).

Default value is "0".

Remarks

When the timeout expires, File Downloader assumes that the connection has been lost and terminates the download process.