Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 01-15-2013, 06:21 PM   #1
chris22
Junior Member
FlashFXP Registered User
 
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  
 

Tags
date, file, flashfxp, transfer, transfer rules


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:48 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)