Page 1 of 1

ftp sync with File Monitor

Posted: Wed Jan 23, 2008 1:38 am
by tsuchina
I want to sync some file from server A to server B by ftp. If there are any change in A, the change can be made to B.
I have create a task,
In Actions, "FTP Log On","FTP Synchronization","FTP Log off" are added, and in "FTP Synchronization" section, Local folder is D:\myweb\web\abc.com, Synchronization mode is Local -> Remote, Include subfolders and Exact copy are marked.
In Triggering Events, I have add "File Monitor" event, and Folders is same -- D:\myweb\web\abc.com, all of Filter condition are marked.
There are many folders and files in D:\myweb\web\abc.com, just like:
folder a -- some html files, folder aa in a -- some xml files;
folder p -- some jpg/png files;
folder d -- some zip/rar files for download.
After Run the task, ONLY folder a and all file in it had been transfered, folder p and fold d are NOT been transfered and p/d are NOT been CREATED in B.
What's the metter?

 

ftp sync with File Monitor

Posted: Wed Jan 23, 2008 2:19 am
by Oleg
Can you send your task to me (oleg (at) robotask.com)?

You must do synchronization between servers only via local folder.

Algorithm is such:
connect to server a
synk remote -> local
disconnect
connect to server b
synk local -> remote

ftp sync with File Monitor

Posted: Wed Jan 23, 2008 3:53 pm
by tsuchina
I've send the task file to your email. And I do not understand your algorithm, Shell I need another PC to run robotask? BTW, 1.The robotask has been installed in Server A. 2.If I change the folder define from D:\myweb\web\abc.com into D:\myweb\web of "FTP Synchronization" and "File Monitor", all of the file and folder can be transfer !

ftp sync with File Monitor

Posted: Thu Jan 24, 2008 12:05 am
by Oleg
I've send the task file to your email.
I'm sorry but I haven't received any messages from you via email.
The robotask has been installed in Server A....
Probably I haven't understood you. You didn't tell that RoboTask works on Server A.

I understand your task so:

You have the folder on server A D:\myweb\web\abc.com
This folder contains a few subfolders

You want to synchronize this folder with server B in case the files in folder will be changed

In this case you have to create the task wich syncronize the folder D:\myweb\web\abc.com with remote FTP Server

Open FTP
Syncshronize D:\myweb\web\abc.com -> remote folder (with subfolders)

Next you have to attach "File monitor" triggering event to this task. "File monitor" must monitor "D:\myweb\web\abc.com" folder with subfolders

That's all. This must work