fileSettings.storageClass Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets the storage class for a file.

Syntax

JavaScript Initialize
as3.converters( [
        {
            //...other params...
            storageClass: "",
            //...other params...
        }
    ]
})
Get/Set Value at Runtime
$au.amazonS3Extender('uploaderID').converters().set(index).storageClass(value);
value = $au.amazonS3Extender('uploaderID').converters().get(index).storageClass();

Property Value

Type: String

Use the same values as Amazon expects for x-amz-storage-class field, i.e. REDUCED_REDUNDANCY, STANDARD_IA or STANDARD. If empty string specified, no x-amz-storage-class field is sent (i.e. the standard storage class is used).

Default value is "".

Remarks

If you use this property, don't forget to allow the x-amz-storage-class field in the policy file.

See Also

Reference

Manual