FileManagerUploadAsyncSettingsBuilder

Methods

AutoUpload(System.Boolean)

By default, the selected files are uploaded immediately. To change this behavior, set autoUpload to false.

Parameters

value - System.Boolean

The value for AutoUpload

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

Batch(System.Boolean)

All selected files are uploaded in one request.

Parameters

value - System.Boolean

The value for Batch

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

ChunkSize(System.Double)

When async.chunkSize is set, the selected files are uploaded chunk by chunk with the declared size.

Parameters

value - System.Double

The value for ChunkSize

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

Concurrent(System.Boolean)

By default, the selected files are uploaded one after the other. When async.concurrent is set to true, all selected files start to upload simultaneously.

Parameters

value - System.Boolean

The value for Concurrent

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

AutoRetryAfter(System.Double)

If async.autoRetryAfter is set, the failed upload request is repeated after the declared amount of time in miliseconds.

Parameters

value - System.Double

The value for AutoRetryAfter

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

MaxAutoRetries(System.Double)

Sets the maximum number of attempts that are performed if an upload fails.

Parameters

value - System.Double

The value for MaxAutoRetries

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

SaveField(System.String)

The name of the form field which is submitted to saveUrl. The default value is the input name.

Parameters

value - System.String

The value for SaveField

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

SaveUrl(System.String)

The URL of the handler that will receive the submitted files. The handler must accept POST requests which contain one or more fields with the same name as the original input name.

Parameters

value - System.String

The value for SaveUrl

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

UseArrayBuffer(System.Boolean)

By default, the files are uploaded as file data. When set to true, the files are read as a file buffer by using FileReader.

Parameters

value - System.Boolean

The value for UseArrayBuffer

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

WithCredentials(System.Boolean)

Controls whether to send credentials (cookies, headers) for cross-site requests.

Parameters

value - System.Boolean

The value for WithCredentials

RETURNS

Returns the current FileManagerUploadAsyncSettingsBuilder instance.