View Single Post
Old 01-15-2013, 06:21 PM  
Junior Member
Join Date: Oct 2011
Posts: 10
Default Help with transfer rule processing

I need a method for checking a file to make sure it has been updated before transferring it and overwriting an existing file.

I have a cron job that runs and updates a file. Since I cannot kick off FlashFXP from the cron job, and timing can vary slightly, and I need the files transferred as soon as they are updated, but not before. I'm trying to find a way to make this work using File Transfer rules.

Here is what I would like to happen:

1. Start the transfer. Check the file date. If the destination file is the same date (file has not been update), wait 10 seconds and look again. Repeat this 24 times, then fail.

2. Once the file date is the same, wait 10 seconds (ideal but not required) then transfer.

This could be done in a script - but FlashFXP does not have this.

Thoughts on a solution?

Thanks in advance.
chris22 is offline