Synchronize local directories with FTP servers.
Synchronize local directories with FTP server.
- This is a command line tool...
- ... and a library for use in your Python projects
- Upload, download, and bi-directional synch mode
- Allows FTP-to-FTP and Filesystem-to-Filesystem synchronization as well
- Architecture is open to add other target types.
- The FTP server must support the MLST command.
- pyftpsync uses file size and modification dates to detect file changes. This is efficient, but not as robust as CRC checksums could be.
- pyftpsync tries to detect conflicts (i.e. simultaneous modifications of local and remote targets) by storing last sync time and size in a separate meta data file inside the local folders. This is not bullet proof and may fail under some conditions.
In short: pyftpsync is not (nor tries to be a replacement for) a distributed version control system. Make sure you have backups.
$ pip install pyftpsync --upgrade $ pyftpsync --help
Read the Docs for details.