|
-
Apr 18th, 2001, 08:39 AM
#1
Thread Starter
New Member
Hi,
I'm using the Inet control to download a file from my FTP server....
Once the file is downloaded I want to open it and read in the contents...
The problem is once the file is download the program tries to open it before it has been written to...so there is an access violation.
Is there a way I can make the program wait for the server to finish downloaded the file first?
Thanks
Zotud
-
Apr 18th, 2001, 12:23 PM
#2
where did you place the open command?
-
Apr 20th, 2001, 03:28 AM
#3
Fanatic Member
Just place a Do Until loop with syntax something like:
Code:
Do Until Inet1.StillExecuting
'Download
Loop
'Then place the open file syntax
or you could also place DoEvents between the two operations.
Gl,
D!m
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|