DcsHttpUploadConfig

Description

A class for the HTTP upload configuration.

Members

Type Name Description
Property url:String Specifies the URL for HTTP/HTTPS upload.
Property name:String The field names of the uploaded files when uploading through POST.
Property uploadMethod: DcsUploadMethodEnum Specifies the uploading method. The default value is DUME_POST. Put method is not supported yet.
Property dataFormat:DcsDataFormatEnum Specifies the data format, either DDFE_BINARY or DDFE_BASE64.
Property formField:[AnyHashable:Any] Specifies the HTML form feilds.
Property header:[AnyHashable:Any] Specifies the HTTP header.

enum DcsDataFormatEnum

DDFE_BINARY = 0x0010 Binary
DDFE_BASE64 Base64 string
name:String
Description An array of field names of the uploaded files when uploading through POST.
Remarks If the field name of the first uploaded file is "dcsfile", that is to say, name = "dcsfile", you can get the file data through _FILE["dcsfile"] on the server side.
Is this page helpful?

Leave a Reply

Your email address will not be published.