Download File

<< Click to Display Table of Contents >>

Navigation:  Workflow Designer > Activities >

Download File

Previous pageReturn to chapter overviewNext page

Function

download_file

The Download File activity allows for a HTTP request which results in a file being downloaded into the workflow. The configuration is very similar to HTTP Request (flow variant), with additional output options to handle the file.

 

Input

The input is the same as for the regular HTTP Request activity.

 

Output

The output are similar to the regular HTTP Request activity, with additional output variables for the file:

Response Content Stream

A Stream variable to store the file stream, if the request results in one.

Response Content Byte

A ByteArray variable to store the file as a byte array, if the request results in one.

Content Headers

An HttpHeaders variable to store the file content headers, different from the response headers.

Result

An HttpFile variable to store the raw HttpFile object.