5.16.2

Options Azure

If you are using the Azure uploader, many of Fine Uploader's options are still present, and most of them still function the same way. However, some of the options are slightly different. This page will list any new or different options for the Azure uploader. Any option not listed here can be assumed to have the same behavior for the Traditional or Azure uploader.

Core

Note

The chunking.paramNames option does not apply to Azure.

chunking

partSize

The maximum size of each part, in bytes. It is not recommenced you increase this value, as Azure will not accept parts larger than 4 MB.

Type:
Integer
Default Value:
4000000

minFileSize

Files smaller than this value will not be chunked.

Type:
Integer
Default Value:
4000001

cors

allowXdr

Enables or disables cross-domain ajax calls (if expected property is true) in IE9 and older.

Type:
Boolean
Default Value:
true

blobProperties

name

Describes the blob name used to identify the file in your Azure Blob Storage container. Possible values are 'uuid', 'filename' or a function. If the value is a function, Fine Uploader Azure will pass the associated file ID as a parameter when invoking your function. If the value is a function it may return one of a qq.Promise or a String.

Type:
String or Function
Default Value:
uuid

Note

The resume.paramNames option does not apply to Azure.

Note

The request.customHeaders option does not apply to Azure.

request

containerUrl

URL for your Azure Blob Storage container.

Type:
String
Default Value:
null

params

Parameters passed along with each upload request.

Type:
Object
Default Value:
{}

filenameParam

Part of the parameter name that contains the name of the associated file which may differ from the blob name. Prefixed with 'x-ms-meta-' by Fine Uploader.

Type:
String
Default Value:
qqfilename

signature

customHeaders

Additional headers sent along with each signature request. If you declare a function as the value, the associated file's ID will be passed to your function when it is invoked.

Type:
Object or Function
Default Value:
{}

endpoint

The endpoint that Fine Uploader can use to send GET for a SAS before sending requests off to Azure. The blob URL and underlying method type associated with the underlying REST request will be included in the query string.

Type:
String
Default Value:
null

uploadSuccess

customHeaders

Additional headers sent along with each signature request.

Type:
Object
Default Value:
{}

endpoint

An endpoint that Fine Uploader should POST to when a file has been successfully uploaded to Azure Blob Storage.

Type:
String
Default Value:
null

method

The request method (i.e. POST/PUT).

Type:
String
Default Value:
POST

params

Any additional parameters to attach to upload success file requests. Note that Fine Uploader will still send the blob name, container URL, filename, and UUID as well

Type:
Object
Default Value:
{}

UI

failedUploadTextDisplay

mode

You will most likely want to keep this at the default value of 'custom'. See the UI options documentation for more info on this option.

Type:
String
Default Value:
custom