vb里用inet控件从ftp上下载文件为0字节
1个回答
展开全部
下载之前加入这个 函数
Private Sub Waitinet()
'新加入的
If vkey = True Then
MsgBox ("空间服务器正在执行,若还是连接不上,请与您的空间商联系")
Exit Sub '"如果为真,则不再执行下面代码"
Else
vkey = True
End If
doing = Inet1.StillExecuting
Do While doing
If vkey = False Then Exit Do
doing = Inet1.StillExecuting
DoEvents
Loop
vkey = False
Private Sub Waitinet()
'新加入的
If vkey = True Then
MsgBox ("空间服务器正在执行,若还是连接不上,请与您的空间商联系")
Exit Sub '"如果为真,则不再执行下面代码"
Else
vkey = True
End If
doing = Inet1.StillExecuting
Do While doing
If vkey = False Then Exit Do
doing = Inet1.StillExecuting
DoEvents
Loop
vkey = False
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询