I created a script to transfer files via-FTP. All works well but one issue.
When the script dosent execute the first shell comand i dont want the second shell command(Auotmatic email software) to run. So if no files get transferred i dont want a e-mail sent. Or to stop a shell command
Much help needed thanks
SHELL "C:\Program files\WS_FTP Pro\ftpsync" New.ctl
SHELL NetMailBot.exe -priority high -tolist "c:\send\mail.txt" -subject "Your MDR File was Downloaded" -from email@example.com -body "your File was Downloaded " -server mail.electronichealthplans.com