Comparing file to log before downloading

Discuss RoboTask here
Post Reply
wcottingame
Posts: 4
Joined: Thu Jun 21, 2007 11:33 am

Comparing file to log before downloading

Post by wcottingame »

I'm working on an automation project for sending and receiving files from a series of FTP connections.  For a few of the ftp sites, I do not have rights to delete or change the files after download.  So I need to have a way of checking to see if the file had been downloaded already.  The one way I thought to do this was to log the files downloaded and then compare to the log file each time robotask downloads.  I can log the file names pretty easily, but I can't think of a function to compare to the log file before download. If this isn't how you would do it, any suggestion would help a lot.  Thank you.
If anyone could help me out, I would appreciate it.
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Comparing file to log before downloading

Post by Oleg »

Unfortunately you can't analyse any FTP file before downloading. You must download file first.
Try to use "FTP synchronization" action. The action compare file by file name and file time. I'm afraid that there is not more effective method to compare files before downloading.
Post Reply