uploadSettings.connectionTimeout Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a timeout of the HTTP connection.

Syntax

JavaScript Initialize
$au.uploader({
    uploadSettings: {
        //...other params...
        connectionTimeout: 0,
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').uploadSettings().connectionTimeout(value);
value = $au.uploader('uploaderID').uploadSettings().connectionTimeout();

Property Value

Type: Number

The HTTP timeout (in milliseconds). If 0, timeout is infinite (i.e. disabled).

Default value is 0.

Remarks

When timeout expires, the ActiveX/Java Uploader assumes that the connection has been lost and terminates the upload process.

See Also

Reference