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, either DUME_POST or DUME_PUT.
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 DcsUploadMethodEnum

DUME_POST = 0x0001 HTTP Post method
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.