uploadSettings.connectionTimeout Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a timeout of the HTTP connection.

Syntax

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

Property Value

Type: Number

The HTTP timeout (in milliseconds). If 0, timeout is disabled (default browser settings may apply).

Default value is 0.

Remarks

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

See Also

Reference