git-ftp 0,3,9,1,3,0,9,2 travis-ci

Uses Git to upload only changed files to FTP servers.

2 years after GPL-3.0

Git-ftp -- uploads to FTP servers the Git way

If you use Git and you need to upload your files to an FTP server, Git-ftp can save you some time and bandwidth by uploading only those files that changed since the last upload.

It keeps track of the uploaded files by storing the commit id in a log file on the server. It uses Git to determine which local files have changed.

You can easily deploy another branch or go back in the Git history to upload an older version.

# Setup
git config git-ftp.url
git config git-ftp.user ftp-user
git config git-ftp.password secr3t

# Upload all files
git ftp init

# Or if the files are already there
git ftp catchup

# Work and deploy
echo "new content" >> index.txt
git commit index.txt -m "Add new content"
git ftp push
# 1 file to sync:
# [1 of 1] Buffered for upload 'index.txt'.
# Uploading ...
# Last deployment changed to ded01b27e5c785fb251150805308d3d0f8117387.

Further Reading


  • Windows and OS X: I am very limited in testing on Windows and OS X. Thanks for helping me out fixing bugs on these platforms.
  • git-ftp as deployment tool: git-ftp was not designed as centralised deployment tool. While a commit is being pushed and uploaded to the FTP server, all files belonging to that revision must remain untouched until git-ftp has successfully finished the upload. Otherwise, the contents of the uploaded file will not match the contents of the file referenced in the commit.


Don't hesitate to improve this tool. Don't forget to add yourself to the AUTHORS file. Core functionality is unit tested using shunit2. You can find the tests in tests/.


This application is licensed under [GNU General Public License, Version 3.0]

[GNU General Public License, Version 3.0]:

Top Contributors

resmo mkllnk daniel-baumann tlatsas martin-ueding adbre shadowhand scribu flesser jonathanpatt BeezyT JoyceBabu andrewfenn ddlsmurf jcamenisch fingolfin escaped sudaraka theeban Hugal31 upcrob roojs dunn ahoppen macbookandrew avit mabhub brad-jones drench cotsog


-   1.2.0 zip tar
-   1.2.0-rc.1 zip tar
-   1.1.0 zip tar
-   1.1.0-rc.1 zip tar
-   1.0.2 zip tar
-   1.0.1 zip tar
-   1.0.0 zip tar
-   1.0.0-rc.2 zip tar
-   1.0.0-rc.1 zip tar
-   0.9.0 zip tar
-   0.8.4 zip tar
-   0.8.1 zip tar
-   0.8.0 zip tar
-   0.7.5 zip tar
-   0.7.4 zip tar
-   0.7.3 zip tar
-   0.7.2 zip tar
-   0.7.1 zip tar
-   0.7.0 zip tar
-   0.6.0 zip tar
-   0.5.2 zip tar
-   0.5.1 zip tar
-   0.5.0 zip tar
-   0.4.0 zip tar
-   0.3.1 zip tar
-   0.3.0 zip tar
-   0.2.2 zip tar
-   0.2.1 zip tar
-   0.2.0 zip tar
-   0.1.2 zip tar