ftp_sync
Synchronizes local project folders to a remote server by transferring only files changed in size or modification date, respecting .gitignore and .ftpignore rules.
Instructions
Deploy entire project folders using smart synchronization. Analyzes local and remote directory trees and only transfers files that have changed in size or modification date. Automatically respects .gitignore and .ftpignore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, logs exactly which files would be changed without performing any actual transfers. | |
| direction | No | Sync direction. Currently only 'upload' is implemented for safety. | upload |
| localPath | Yes | The source directory on your local machine. | |
| remotePath | Yes | The target destination directory on the remote server. | |
| useManifest | No | Enables the local manifest cache for extremely fast delta detection on subsequent syncs. |