HTTP Upload Download Task

Your rating: None Average: 4 (1 vote)

Overview

Script Task to upload or download file using HTTP protocol. It providers following parameters:

  • ProxyUrlHTTP proxy URL (optional).
  • Username – user name credential (optional).
  • Password – password credential (optional).
  • IgnoreServerCertificate – enable or disable server certificate validation.
  • Action – task action (upload or download).
  • SourceFile – local file to upload.
  • TargetFile – remote file to download.
  • Method – method used to upload file. If not specified default is POST.

Requirements

Depends on System.Net.WebClient for HTTP operations.

Depends on CozyRoc Script Task Plus component for implementing parameters user interface.

Library references

  • System
  • System.Data
  • Microsoft.SqlServer.ScriptTask
  • Microsoft.SqlServer.ManagedDTS
  • CozyRoc.SSISPlus

ScriptMain