How to Download File using HTTP - VB.net Private Sub DownloadFile() Dim strURL As String = IO.Path.Combine(txtUpdateURL.Text, UpdateZipFileName).Replace("\", "/") strDownloadFilePath = IO.Path.Combine(txtUpdateDownloadPath.Text, UpdateZipFileName) If File.Exists(strDownloadFilePath) = True Then File.Delete(strDownloadFilePath) ' ZIp File System.Threading.Thread.Sleep(100) End If ServicePointManager.ServerCertificateValidationCallback = AddressOf AcceptAllCertifications ServicePointManager.SecurityProto...
Comments
Post a Comment