VB利用Inet下载Ftp文件出错
代码如下:Inet1.Protocol=icFTPInet1.URL="ftp://117.25.169.53"Inet1.RemotePort=21Inet1.User...
代码如下:
Inet1.Protocol = icFTP
Inet1.URL = "ftp://117.25.169.53"
Inet1.RemotePort = 21
Inet1.UserName = "XXX"
Inet1.Password = "XXX"
Label1.Caption = "正在下载...."
Inet1.Cancel
Inet1.Execute , "GET /ftp_file/2.zip c:\2.zip"
Do While Inet1.StillExecuting
DoEvents
Loop
Label1.Caption = "下载完成"
用户名,密码,ftp地址均确认无误。
每次都在 Inet1.Execute , "GET /ftp_file/2.zip c:\2.zip"出错,图片就是出错时的图片
求高手帮忙看一下~谢谢 展开
Inet1.Protocol = icFTP
Inet1.URL = "ftp://117.25.169.53"
Inet1.RemotePort = 21
Inet1.UserName = "XXX"
Inet1.Password = "XXX"
Label1.Caption = "正在下载...."
Inet1.Cancel
Inet1.Execute , "GET /ftp_file/2.zip c:\2.zip"
Do While Inet1.StillExecuting
DoEvents
Loop
Label1.Caption = "下载完成"
用户名,密码,ftp地址均确认无误。
每次都在 Inet1.Execute , "GET /ftp_file/2.zip c:\2.zip"出错,图片就是出错时的图片
求高手帮忙看一下~谢谢 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询