Use a batch file routine to check for the existence of a file.
You can run a batch file from the command to check for the existence of a file and then perform a routine when it arrives.
NOTE: The sleep.exe program is required to be installed prior to running the batch file and is supplied with the Windows NT Resource Kit.
Here is an example, perform the following steps to create a routine batch file.
NOTE: This routine checks for ftpfile.txt every 200 seconds. This type of routine is useful when you need to run a program once a file has been sent via FTP to your computer.