using ( WebClient client = new WebClient() ) { for(int i=0; i< URL_List.Length; i++) { try { client.DownloadFile( URL_List[i] , myLocalPath+fileName+".pdf" ); } catch(Exception x) { // write exception message to error log... } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)