Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


swapna
2012-02-03T05:32:52Z
Hi,

I have Job with 3 tasks

Task1 : Create a file for uploading in the local server
Task2 : Gets the file from defined path and uploads to the FTP server
Task3 : Email task notifies on error.


Can you please let me know, how can i know whether the file is uploaded successfully?
If the file is not uploaded successfully on Task2, I would like to run Task3.

What i tested, though there are no files to be uploaded from local server, Task Result is showing "Success".
When there no particular path on FTP Server, though the task result is "Success"

I would like to check whether the file uploaded successfully or not.

Thanks.
Sponsor
Forum information
ErikC
2012-02-03T06:54:07Z
Hi swapna,

The easiest way to be sure the file is there is after uploading create a download FTP task. Download the same file to a local location and after that task you can use a email task telling you the file is not there. This email task should have a condition bound to it. It checks if the downloaded file present or not. Use this condition to control the email tesk.

Regards,
Erik
Uses Visualcron since 2006.
swapna
2012-02-09T03:16:42Z

I would like to confirm, is there a way other than this??

Many Thanks Erik.
Support
2012-02-09T07:01:14Z
If you are going to verify this manually you could create an Email Task after the upload Task where you use this Variable:

{TASK(PrevTask,Result.UploadedFilesNames)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
swapna
2012-02-09T23:26:25Z

{TASK(PrevTask,Result.UploadedFilesNames)}

with the use of this variable, It reduced writing of an extra task(for downloading the files.)

Many Thanks for your support.
Scroll to Top