Page 1 of 1

Is it possible?

PostPosted: Tue Oct 30, 2007 7:40 am
by broadcastdoc
Here's what I need to do:

I have a system that generates an XML file every few minutes (title and artist data of songs on the radio). That file is dropped into a directory, and needs to be uploaded to two different FTP servers.

Is it possible to have Turbo poll the folder and upload ONLY after the file has changed? Right now, I just have it synchronise that folder to the FTP servers every minute. It would cut back traffic quite a bit if it would only attempt a sync if it notices that the file has changed. CuteFTP has that function, but it only works with one site at a time.

PostPosted: Sun Nov 04, 2007 2:55 am
by broadcastdoc
So the answer is "no" then?


PostPosted: Thu Nov 08, 2007 1:41 am
by admin
The Sync Service's Auto Upload Task can do this. You can set up one such task and tell it to monitor a specific local folder to upload any new/updated files in it.

PostPosted: Thu Nov 08, 2007 2:58 am
by broadcastdoc
Cool! But is there a way to set it so that it doesn't stay logged in to the FTP server? I'd like it to see the changed file, log into the FTP server, upload it, and disconnect, then wait for the next change.

Is that possible?

PostPosted: Thu Nov 08, 2007 7:22 am
by admin
It will stay connected upload new/updated files as soon as possible. If you want it to disconnect after uploading then you should use Sync Task.

PostPosted: Thu Nov 08, 2007 4:39 pm
by broadcastdoc

That's what I'm doing now, but unfortunately that has to be timed, and these files can get updated as quickly as 2 minutes, and as long at 15 minutes. Right now, I have syncing set up for every 60 seconds. I was hoping to cut down on traffic and just have the sync run "on demand" when the local file is updated. Looks like this won't fix that.

Oh well! :)