Directory synchronize via FTP.
Алексей f7b77622d5 fix readme 3 weeks ago
core bump 3 weeks ago
README.md fix readme 3 weeks ago
config.php bump 3 weeks ago
ftpsync.php bump 3 weeks ago
license.md bump 3 weeks ago

README.md

FTPSync

Directory synchronize via FTP. Features:

  • upload new files
  • upload changed files (check hash)
  • delete deleted files

Run

php ftpsync.php

Settings

Edit config.php

  • hash_algo - hash algorithm: md5, sha256 and other
  • dir - local directory for synchronize
  • exclude - exclude full local paths
  • ftp_maxtry - try limit for FTP operations
  • ftp_dir - FTP sync directory path
  • and other options