[Solved] FTP Download - Check whether the file is present on FTP server. - VisualCron - Forum

Community forum

swapna
2012-01-31T05:54:21Z
Hi,

I am having a Job with 3 tasks.

Task 1. Generates a file name and stores the filename in to a UserVariable.
Task 2. Gets the file name from UserVariable value, it downloads the file from FTP Server.
Task 3. Processing the downloaded file.

I want
Task 2: Though there is not a file by the name i am looking for on the Test Server, i can see the result of the Task 2 as "Succes".

I want to execute my Task 3, if Task 2 has downloaded file.
If Task2 does not find a file on FTP Server, i would like to end my job here.

Thanks.
ErikC
2012-01-31T07:46:17Z
Hi swapna,

What you can do is using a condition on task 3.
This condition is cheking if the file is downloaded.
Use your variable from task 1 to check the filename.
If the condition is met, continue else exit the job.

Regards,
Erik
Uses Visualcron since 2006.
swapna
2012-01-31T22:29:02Z
Scroll to Top