-
I want to execute multiple ftp commands using the Inet component.
The code looks like this
Inet1.Execute , "GET standard.eb2 c:\standard.eb2"
Inet1.Execute , "GET includes.eb2 c:\includes.eb2"
Inet1.Execute , "GET users.eb2 c:\users.eb2"
But I get an error message that says "Still executing last request."
What is the best way to remove this problem?..
I've tried checking the Inet state to make sure it was finished, but couldn't really do anything with that.
Any Ideas?
Jeremy
-
Add a DoEvents to finish a process before continuing to the next.
Code:
Inet1.Execute , "GET standard.eb2 c:\standard.eb2"
DoEvents
Inet1.Execute , "GET includes.eb2 c:\includes.eb2"
DoEvents
Inet1.Execute , "GET users.eb2 c:\users.eb2
DoEvents