I have written some code to ftp a file from a local server and then search through my hard drive to find previous versions of the same file and then replace them.
But the search always begins well before the file has copied over.
How can I delay the file search until the ftp part of the program has finished.
I dont want to put in a time delay because the file size will gradually increase so I really need to say...ok, pause until the ftp has finished....ok, thats finished....now start to search...

Help!!!