WebClient client = new WebClient(); client.Credentials = new NetworkCredential("username", "pwd"); client.DownloadFile(new Uri("https://infodirect.pershing.com/cehttp/servlet/MailboxServlet?operation=DOWNLOAD&mailbox_id=id3auhfu&batch_num=0069843&data_format=A&batch_id=071213.ACCT"), @"C:\Downloads\071213.ACCT");
client.UseDefaultCredentials = false;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)