Navigation:  Actions > Network > HTTP >

HTTP Action Command Tab

Previous pageReturn to chapter overviewNext page

This tab of the HTTP action specifies the HTTP request information.

 

Put: The put command to perform (None, Put file, Post file, Post form data, or Delete).  For the Post form data command, enter the form information on the Form tab.

 

Get: The get command to perform (Get to file, Get to macro, or None).

 

URL: The URL on the server to submit the request to (required).  Do not include the protocol or domain name (i.e., http://www.site.com), but only the local resource URL itself (i.e., /path/to/file.html).

 

Put file: For Put file or Post file commands, the name of the file to put (required).

 

Get file: For the Get to file command, the name of the local file to get to (required).

 

Macro: For the Get to macro command, the name of a temporary macro to store the response in (required).

 

Do not escape special characters: Does not escape (double) special characters in the response when storing in a macro.

 

Transfer type: The transfer mode:

Binary: the resource data is copied to the local system exactly as it is stored on the server.
ASCII: If the resource being downloaded from the server is textual, the data is automatically converted so that the end of line character sequence is compatible with the Windows platform. Individual carriage return or linefeed characters are converted to carriage return/linefeed character sequences.

 

Enable compression: Enables support for data compression.  This option indicates to the server whether or not it is acceptable to compress the data that is returned to the client. If compression is enabled, the client will advertise that it will accept compressed data by setting the Accept-Encoding request header. The server will decide whether a resource being requested can be compressed. If the data is compressed, the library will automatically expand the data before returning it to the caller.  Enabling compression does not guarantee that the data returned by the server will actually be compressed, it only informs the server that the client is willing to accept compressed data. Whether or not a particular resource is compressed depends on the server configuration, and the server may decide to only compress certain types of resources, such as text files.

 

Form data: For the Post form data command, enter the form data to be posted; for the Post file command, enter the name of the form field that the script expects (if empty, a default field name of "File1" is used).

 

Logging: Level of logging to perform on network communications or file transfers:

None: No logging (other than a count of files transferred)
All: All network communications logged
Errors: Only errors logged
Errors/warnings: Any errors and warnings logged
All + Hex dump: Logs all networks communications and a hex dump of all data transferred
Progress: Logs progress while transferring file
Data: Logs data that is returned by the server

 

Log every x percent: If Logging is set to Progress and a value between 1 and 99 is entered in this field, a progress update will be logged every n percent of completion when transferring a file.  If the field is empty or file sizes are not available, a progress update will be logged every 5 seconds.

 

Note: The HTTP action will create the destination folder for a local file if it doesn't already exist.