How to use Python to copy files, for example, generate a configuration file through the WEB interface, compare this file with the file on the remote server, and then synchronize it. What module is more suitable for this?
And if it is a directory, what should I use? Implement a function similar to a file synchronization system...
Linux server can use rsync to synchronize files and directories. Also, is the first answer a collection of small websites?