inet控件做ftp,同步问题怎么解决?
我想连续执行一系列命令如pwd ,ls, cd pub,get file c:\file
希望一条命令执行完后,再下一条,看了很多网上的资料说
Inet1.Execute url, command1
' This allows me to wait until the file is done transfering
Do Until Inet1.StillExecuting = 0
DoEvents
Loop
Inet1.Execute url,command2
可是运行起来,总是说上一条命令正在执行
?????
问题点数:50、回复次数:5Top
1 楼zitjubiz(pattern)回复于 2002-05-24 13:35:01 得分 0
单步执行就可以的阿Top
2 楼gyang(我是谁?)回复于 2002-05-24 13:55:10 得分 50
我有一个控件可以解决此问题,可以给你,是对inet扩展了一下。Top
3 楼gyang(我是谁?)回复于 2002-05-24 19:05:14 得分 0
Inet1.Execute url, command1
' This allows me to wait until the file is done transfering
Do while Inet1.StillExecuting = true
DoEvents
Loop
Inet1.Execute url,command2
Top
4 楼zitjubiz(pattern)回复于 2002-05-30 12:42:36 得分 0
gyang(杨杨) 发给我把ZITJUBIZ@163.COMTop
5 楼gyang(我是谁?)回复于 2002-05-30 16:36:39 得分 0
okTop




