git-ftp uploads only files that changed since the last deployed commit, tracking the remote state in a server-side log. Python and Bash implementations share configuration and ignore rules.
Overview
When hosting still relies on FTP-family protocols, git-ftp uses Git history to decide which files to transfer instead of mirroring entire trees. It records the deployed commit hash on the server and diffs the working tree or selected branches against that marker.
Both maintained implementations support FTP, FTPS, FTPES, and SFTP, read the same git-ftp URL and credential config, and honor include or ignore files. The Python variant adds parallel jobs by default; the classic Bash script remains common in distributions.
Workflow commands include initial full upload, catch-up when files already match a commit, and push after new commits. Operators can deploy alternate branches or older revisions by checking out the desired commit before pushing.
Documentation stresses that uploads are not atomic deployments: files touched by a commit should stay stable until an upload finishes, and the Python tool offers worktree mode to reduce that race.
Key features
- Incremental FTP deploys
- Commit hash on server
- FTP, FTPS, SFTP support
- Shared config between variants
- Include and ignore rules
- Branch and history deploys
- Parallel Python transfers
- pull and snapshot commands
Use cases
- Legacy FTP site updates
- Static site deploys from Git
- Shared hosting workflows
- Minimal upload bandwidth