Page 1 of 1

is it possible to synchronize 2 folders from 2 different sites?

Posted: 2020-08-29 06:37
by reggio
is it possible to synchronize 2 folders from 2 different sites?

Hi,
on my website www1.example.org I have a folder with many files that I add, remove and modify every day
on the site www2.example.org I have a clone folder that I would like to keep updated and synchronized automatically

Can FTP Mozzilla help me in this case too?
How can I do?

Re: is it possible to synchronize 2 folders from 2 different sites?

Posted: 2020-08-30 19:18
by boco
Can FTP Mozzilla help me in this case too?
No idea, as I don't know this software. Maybe you should ask in their support forums.

In case you mean FileZilla (that's how it's called, and we have nothing to do with Mozilla), then, no. First, an automatic sync is not possible, only a manual, assisted one (color coding differences in listings etc.). Second, you cannot transfer between servers, as server-to-server transfers are not supported (and will most probably never be).

Re: is it possible to synchronize 2 folders from 2 different sites?

Posted: 2020-08-31 07:30
by reggio
boco wrote:
2020-08-30 19:18
Can FTP Mozzilla help me in this case too?
No idea, as I don't know this software. Maybe you should ask in their support forums.

In case you mean FileZilla (that's how it's called, and we have nothing to do with Mozilla), then, no. First, an automatic sync is not possible, only a manual, assisted one (color coding differences in listings etc.). Second, you cannot transfer between servers, as server-to-server transfers are not supported (and will most probably never be).
Hi boco, tnx, i'm sorry, I meant FileZilla not "FTP Mozzilla".

Ok, I think I understand that it is not possible to create a direct server-to-server synchronization,
maybe it is possible to do it with multiple steps?

Example I have:
www1.example.org/original-folder
C: \ copy-of-original-folder
www2.example.org/copy-of-original-folder

In reality, the word synchronization that I used is also wrong, what I would like is to get a copy of a web folder in another web folder, but I don't care if it works in reverse, I just need one direction.
Basically it is a copy and paste, my problem is that
1) The files and subfolders are many and very large (110gb)
2) I would like that when I add (with wordpress) files or folders in www1.example.org/original-folder, these new files and folders are also copied to www2.example.org/copy-of-original-folder

Is it possible to create a procedure that does this automatically?

^__^
reggio

Re: is it possible to synchronize 2 folders from 2 different sites?

Posted: 2020-08-31 12:03
by boco
Sure, but not with FileZilla, it cannot do automated transfers.

Re: is it possible to synchronize 2 folders from 2 different sites?

Posted: 2020-08-31 12:20
by reggio
boco wrote:
2020-08-31 12:03
Sure, but not with FileZilla, it cannot do automated transfers.
Hi :)
i dont want to boring you, but you tell me "sure" ... with which software i will do it?

Tnx
reggio
^__^

Re: is it possible to synchronize 2 folders from 2 different sites?

Posted: 2020-08-31 12:59
by boco
If you know how to script FTP, a command line FTP client like "lftp" can do the job. Otherwise, other FTP clients (usually commercial ones) contain schedulers for automatic sync. No idea of a currently maintained client doing this (I only know of the outdated FTP Voyager having this).

WinSCP (another Open Source client) has a Synchronize... command.