I'm downloading a text file, using the Shell function and FTP program in a Form_Timer event (<A HREF="ftp://FTP.TXT" TARGET="_new">FTP.TXT</A> contains username, PW, and Get). <br><br>retval = Shell("c:\windows\system\<A HREF="ftp://ftp.exe" TARGET="_new">ftp.exe</A> -s:<A HREF="ftp://ftp.txt" TARGET="_new">ftp.txt</A> <A HREF=" TARGET="_new"> vbHide)<br><br>My problem is that the code continues to run, so that the processing of the textfile (import) starts before the file is actually saved to disk. The returnvalue of the Shell function is received before the data is actually saved.<br><br>I've made a simple routine holding the execution for some seconds, but that will at some time fail.<br><br>I'd appreciate any help preventing the app from reading the file unless it's properly saved. Thanks.