SQL Server Integration Services

SSIS Script Task to Upload a File to a Website using C#, HTTP Post with HttpWebRequest

Need a way to upload a generated file to a website using SSIS? The code below uses HttpWebRequest to make page requests, HttpWebResponse to get server responses and CookieContainer to hold the session data. The website required a session cookie along with login credentials. To complicate things even more the cookie was created on one …

SSIS Script Task to Upload a File to a Website using C#, HTTP Post with HttpWebRequest Read More »