zos_http_upload_t Struct Reference

HTTP upload context used by zn_http_upload() More...

Data Fields

const char * url
 The HTTP request URL, if no schema is included http:// is used.
 
const char * local_filename
 Name of file on local file system.
 
const char * remote_filename
 Name to save file as on server, optional, leave NULL to use local_filename.
 
const char * content_type
 The HTTP 'content-type' to upload file as, optional, leave NULL for default.
 
const char * form_name
 The HTTP 'form-data' name, optional, leave NULL for default.
 
const uint8_t * security_key
 If the file has the FILE_FLAG_USER_ENCRYPTED set, then this key is used to decrypt the file before uploading to server.
 
zos_tls_certificates_t certs
 For HTTPS (secure) request, the TLS cert filenames, zos_tls_certificates_t.
 
zos_interface_t interface
 Network interface, zos_interface_t.
 

Detailed Description

HTTP upload context used by zn_http_upload()