I am starting an FTP session using:
"C:\Program Files\FTP Server\msftpsrvr.exe" -start
Now I want it to wait until it has find a file with a specified string.
Details: I am using Mini core ftp on my server and Winscp on my client. The client's time schedule keeps changing. I follow the following steps for automation:
On server
- msftpsrvr.exe -start
On client:
cd "C:\Program Files\WinSCP"
winscp.exe /console /script=script to get backup and put file with status
No the server should read the status after copy is finished and then stop the ftp server.
How can I tell the server to pause untill that file is updated with "done" string?