Foxtable(狐表)用户栏目专家坐堂 → [求助]远程服务器返回错误(404)未找到。如何处理?


  共有2783人关注过本帖树形打印复制链接

主题:[求助]远程服务器返回错误(404)未找到。如何处理?

帅哥哟,离线,有人找我吗?
大红袍
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:贵宾 帖子:39310 积分:196782 威望:0 精华:1 注册:2015/4/25 9:23:00
  发帖心情 Post By:2016/4/20 15:03:00 [显示全部帖子]

Dim p(6) As String
p(0) = "300464"
p(1) = "300465"
p(2) = "300466"
p(3) = "300468"
p(4) = "300469"
p(5) = "300473"
For i As Integer = 0 To 5
    try
        Dim xz As String = "http://table.finance.yahoo.com/table.csv?s=" & p(i) & ".sz"
        Dim bc As String = "d:\测试\" & p(i) & ".csv"
        Network.DownloadFile(xz,bc)
    catch ex As exception
        msgbox(ex.message)
    End try
Next

 回到顶部