I have a local folder, and I would like to sync it a folder on a web server via FTP . what is the best way to accomplish this? I would prefer to be able to do this via terminal, so that I can just have an 'update' command that would update the files on the sever.
7
You could mount it with curlftpfs
and then sync it with unison
.
-
2
-
-
No, it doesn't. But for this case it is not necessarily needed. I just wanted to add it ;) – dAnjou Jun 16 '11 at 9:44
-
-
A good tutorial on how to do that (it's not that complex, but it helps to have a guideline): raphael.li/tips/synchronize-ftp – Clément Apr 11 '17 at 17:03
1
The script you are searching for might be FTPSync.
-
2While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Peachy Sep 15 '12 at 10:25
-
I see that it would make sense in general, but in this case I recommend a program. What else should I write? Type "ftpsync.pl -h" to learn how to use it. – Matthias Weiler Sep 17 '12 at 16:04
-
The page moved to savannah.gnu.org/projects/ftpsync and there's a git repository : git.savannah.gnu.org/cgit/ftpsync.git – Clément Apr 11 '17 at 17:04