Overview
Script task to upload or download file using HTTP protocol.
Setup
The script has the following parameters:
- ProxyUrl - HTTP proxy URL (optional).
- Username - user name credential (optional).
- Password - password credential (optional).
- ForceBasicAuthentication - enable forced basic authentication by adding Authorization header.
- IgnoreServerCertificate - enable or disable server certificate validation.
- Action - task action (upload or download).
- RemoteUrl - remote file location.
- SourceFile - upload from source file.
- TargetFile - download to target file.
- Method - method used to upload file. If not specified default is POST.
- Headers - additional web request headers (optional). Syntax is [name]=[value]. Multiple headers are separated with newline.
Configuration
To use this script, you would need to load it in COZYROC JavaScript Task. If you are using COZYROC SSIS+ 2.0 or later, after selecting the corresponding script type and opening the component editor, you can select the script from a dropdown list with the pre-built scripts. For COZYROC SSIS+ 1.9, you can download the JavaScript file and browse to it via the "Import JavaScript code" button.
HTTP_Upload_Download_Task.jsCOZYROC SSIS+ Components Suite is free for testing in your development environment.
A licensed version can be deployed on-premises, on Azure-SSIS IR and on COZYROC Cloud.