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

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
reggio
504 Command not implemented
Posts: 8
Joined: 2017-02-08 07:19
First name: reggio
Last name: reggio

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

#1 Post by reggio » 2020-08-29 06:37

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?
Tnx Reggio

User avatar
boco
Contributor
Posts: 25251
Joined: 2006-05-01 03:28
Location: Germany

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

#2 Post by boco » 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).
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

reggio
504 Command not implemented
Posts: 8
Joined: 2017-02-08 07:19
First name: reggio
Last name: reggio

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

#3 Post by reggio » 2020-08-31 07:30

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
Last edited by botg on 2020-08-31 09:00, edited 1 time in total.
Reason: Fixed example URLs to actually use the documented example domains and not some proprietary third-party domains
Tnx Reggio

User avatar
boco
Contributor
Posts: 25251
Joined: 2006-05-01 03:28
Location: Germany

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

#4 Post by boco » 2020-08-31 12:03

Sure, but not with FileZilla, it cannot do automated transfers.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

reggio
504 Command not implemented
Posts: 8
Joined: 2017-02-08 07:19
First name: reggio
Last name: reggio

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

#5 Post by reggio » 2020-08-31 12:20

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
^__^
Tnx Reggio

User avatar
boco
Contributor
Posts: 25251
Joined: 2006-05-01 03:28
Location: Germany

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

#6 Post by boco » 2020-08-31 12:59

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.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Post Reply