Link to home
Create AccountLog in
Avatar of vdr1620
vdr1620Flag for United States of America

asked on

Script to download a File from HTTPS link

Hi, Can some one help with a script to download a file from Secure Http Link.. I have googled for sample scripts but could not find any..

I would appreciate if any one can help me with a working script.

Presently i am using an ActiveX script in SSIS and the ETL is being run from SQL server Job using my Proxy credentials but then it only succeeds when i am logged into the server.. Don't know what exactly is happening
 
I do not have any certificates associated to the link, i have just added it to the trusted sites in IE and its working fine when i am logged into the server and run the job or when I run the package manually


I would the below link...but it downloads some script not the data i need
http://geekswithblogs.net/MrWright/archive/2009/09/04/csharp-https-file-download.aspx
Avatar of lludden
lludden
Flag of United States of America image

Check out cURL.  http://curl.haxx.se/

You can install this on your server and run it as a command line.

ASKER CERTIFIED SOLUTION
Avatar of vdr1620
vdr1620
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of vdr1620

ASKER

J