Improve your productivity and save time.  Let your system work for you.
HiTek Software Home
Subject Ftp monitor, download followed by Bulk email in Chain
Date   01/19/2006
Message I have a quick question about chaining events together. I have a directory on a remote server that I'm monitoring with an FTP monitor (I think I have to schedule that once a day or something?) and when the directory changes, I want it to download the files, then send the bulk e-mail. I've got it to download the files, but is there a way to trigger the e-mail task after the files were downloaded?
Reply1 Hi Derek,

1) You can look into using a Ftp Get task only without going through the Ftp Monitor

2) If you chain the Ftp Get and Bulk Email together using a Chain task (big blue links icon on front panel), the Bulk email task will run after the Ftp Get task finishes. 

3) If you cannot do without the Ftp Monitor, then you would need to chain the Ftp Monitor + Ftp + Bulk Email in sequence. 

4) In the Ftp step , if any files are transferred the exit code = -100. 
If no files are transferred, exit code = 0. 
If any error occurs in task, exit code > 0. 
To prevent sending a Bulk email if no New files are downloaded, for the Ftp step in the Chain you should set the condition = if exit code > -1 , go to step 100.

sincerely, melvin desilva hitek software

 

Reply2
Reply3
Reply4
Reply5