FileDownloader.ReconnectAttemptsCount Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Number of attempts to download a file list or files.

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("ReconnectAttemptsCount", "5");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setReconnectAttemptsCount(value);
value = getFileDownloader("FileDownloaderID").getReconnectAttemptsCount();

Property Value

A non-negative integer value specifying how many download attempts to perform (including the very first attempt). If you want to disable automatic resuming feature, set this property to 1.

Default value is "5".

Remarks

Time interval between attempts can be configured using the P:FileDownloader.ReconnectTimeOut property.

See Also

Reference