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.


Susheel
2010-11-19T07:17:12Z
Hello Team,
I would be very greatful if someone helps me understand the following:

1. System A starts uploading a file to the FTP server.
2. System B has VisualCron and wants to download the same file from the FTP server.
3. Is it possible for VisualCron to check if the file is completely uploaded to the FTP server by System A and then only start the download of that file.

Please let me know if its possible for VisualCron and if yes how to accomplish this task.

Thanks a lot in tons,
Susheel
Sponsor
Forum information
Support
2010-11-19T08:22:26Z
There are a couple of ways to solve this. We would recommend the following solution:

1. On System A, create the Job with the Upload Task. After the upload Task you could create a new Task that writes a file in System B folder.
2. On System B you use a File Trigger to react on the new file. You then start download the files from the same FTP. You can also choose to delete that “trigger file” when done.

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Susheel
2010-11-19T08:33:21Z
Wow Henrik,
Thats really a good solution. But unfortunately, the file that is uploaded to the FTP server from System A is done by our clients who are not proficient to set up a job etc. Hence if there is any other way that we can know from System B itself whether the file is uploaded completely or not. This would help us setup our system accordingly.

Thanks and regards,
Susheel
Support
2010-11-19T08:35:24Z
The client has to notify you in some way. From what I know there is no FTP command telling that a file is completely uploaded unless there is some kind of lock at FTP server preventing file from being downloaded (and will then raise an error).

You could use alternate approaches. Perhaps the client can email a certain address when he is done and you can use the mail trigger to check for new mail on that address.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Susheel
2010-11-19T08:40:36Z
Thank you Henrik for your confirmation and support.

Cheers,
Susheel
Scroll to Top