FORMADD string
[<<<] [>>>]
curl::option CurlHandle,"FORMADD", _
"NAME","field_name", _
"VALUE","field_value", _
"FILE","name_of_file_to_upload", _
"FILENAME","reported_file_name", _
"CONTENTTYPE","content/type", _
"HEADER","extra-content: header"
Use this option to specify post parameters to be sent to the server when retrieving the URL.
There should be even number of arguments following the option "FORMADD". Each pair of arguments
specify the argument type and the value. The argument types can be:
- "NAME" should be followed by the name of the argument
- "VALUE" should be followed by the string value of the argument
- "FILE" should be followed by the name of a file to be uploaded
- "FILENAME" should be followed by the name of the file that you want to specify in the
post data to be sent to the server. If this value is not specified when uploading a file the
real file name specified following the "FILE" will be sent. You may not want to disclose the
real name of the file on the client and/or the full path to the file uploaded.
- "CONTENTTYPE" should be followed by the content type of the uploaded file.
(multipart upload)
- "HEADER" should be followed by extra header fields that are used for the specific content.
(multipart upload)
[<<<] [>>>]