postFile ( string url , map[string:string] postData , map _files , array _files_names ) : string
Send a POST request with attached files.
Example
postFile("http://site.com/page.php",["name":"Doe" , "firstname":"John"],["your_file":"C:/Users/Admin/Desktop/myimage.png"],["newName.png"])
See also
postBodypost
postBinary
httpHeader
httpHeaderClear
getPage
Parameters
url
postData
Map of data to send in the POST request. In key the field name and in the value its value.
_files (optional)
Paths of files to attach to the POST request. Keys of map are for field name.
_files_names (optional)
Indexes of files_names must correspond with files.