Dim hc As New HttpClient("http://127.0.0.1/aa.jpg")If hc.GetFile("c:\aa.jpg") Then MessageBox.show("文件下载成功","提示")Else MessageBox.show("文件下载失败","提示")End If
以下判断文件的不管文件是否存在都返回false