老师好,我有一个图片地址,请问怎么用ft把它下载下来https://static-data.eol.cn//upload/svideo/1620633376_7759_thumb.png
我用下面代码,提示https的报错
Network.DownloadFile("https://static-data.eol.cn//upload/svideo/1620633376_7759_thumb.png", "E:\咨询师资料\院校图片.png")
Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Tls11
Dim hc As New HttpClient("https://static-data.eol.cn//upload/svideo/1620633376_7759_thumb.png")
If hc.GetFile("D:\问题\123.jpg") Then
MessageBox.show("文件下载成功", "提示")
Else
MessageBox.show("文件下载失败", "提示")
End If
Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Tls11 Dim hc As New HttpClient("https://static-data.eol.cn//upload/svideo/1620633376_7759_thumb.png") 老师上面这个代码,把这个图片文件下载到哪里了?我没有找到 |
[此贴子已经被作者于2024/2/28 15:02:04编辑过]