Run the following as admin:
curl https://raw.githubusercontent.com/git-ftp/git-ftp/master/git-ftp > "C:\Program Files (x86)\Git\bin\git-ftp"
chmod 755 "C:\Program Files (x86)\Git\bin\git-ftp"
or try:
cd /c/"Program Files"/Git
git clone https://github.com/git-ftp/git-ftp git-ftp.git
cp /c/"Program Files (x86)"/Git/git-ftp.git/git-ftp /c/"Program Files (x86)"/Git/bin/git-ftp
Installation Instructions Install git-ftp under windows Git Url Windows
# Setup
git config git-ftp.url "xxxx"
git config git-ftp.user "xxxx"
git config git-ftp.password "xxxx"
# 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.