Added by: Sam Deering
Git powered FTP client written as shell script.
I use git-ftp for my script based projects, mostly PHP. Most of the low-cost web hosting companies do not provide SSH or git support, but only FTP.
That is why I needed an easy way to deploy my git tracked projects. Instead of transferring the whole project, I thought, why not only transfer the files that changed since the last time, git can tell me those files.
Even if you are playing with different branches, git-ftp knows which files are different. No ordinary FTP client can do that.
See INSTALL file.
$ cd my_git_tracked_project $ git ftp push --user <user> --passwd <password> ftp://host.example.com/public_html
For interactive password prompt use
$ git ftp push -u <user> -P ftp://host.example.com/public_html
Pushing for the first time:
$ git ftp init -u <user> -P ftp://host.example.com/public_html
See man page for more options, features and examples!
Core functionality is unit tested on Linux using shunit2. You can find the tests in
Don't hesitate to use GitHub to improve this tool. Don't forget to add yourself to the AUTHORS file.
Module stats last updated: 2017-07-20 16:00:04