"HTTP Post" uploads a file to a website, using HTTP[S] with the POST verb. POST is the mechanism used by most websites that accept browser-based uploads.
Use this script like a destination, as a per-file process. Typically you would use this in a task with one or more sources.
Input Parameters
HTTP_URL (Required) - The URL to post to; e.g., https://myserver/cust/upload.aspx. May include macros.
HTTP_IgnoreCertProblems - Whether problems with the remote server certificate (such as signer not trusted) should be ignored. Defaults to False.
HTTP_User - The username, for HTTP authentication. If the website uses form-based authentication rather than HTTP authentication, then this script will not work.
HTTP_Password - The password, for HTTP authentication.
HTTP_DestFilename - The destination filename. If not specified, the original filename is used.
HTTP_FileFormField (Required) - The name of the form field for the file contents. May include macros.
HTTP_ExtraFields - The names and values of optional extra form fields to be provided along with the POSTed file. This is very application-specific. The format is a string like fldname1=value1|fldname2=value2|... May include macros.
HTTP_MaxFileSizeMB - If a file is larger than this (MB), then skip that file and signal an error. Default 100; max value 500.
Notes
This script will work only when the website requires either no authentication, or HTTP authentication. Unfortunately, many websites require the user to signon via a web form to authenticate. This script will not support websites like that.
This script is not suitable for files larger than a few dozen megabytes, because it loads the entire file into memory before saving it.