Here are the steps to install git-ftp in windows :
Step 1 :
Go to open the Git Bash which is located in C:\Program Files (x86)\Git
by default.
(In case of you have 32 bit Windows OS go to C:\Program Files\Git
)
Step 2:
Now in git bash type following command
1 2 | curl https://raw.githubusercontent.com/git-ftp/git-ftp/master/git-ftp <span class="pl-k">></span> /bin/git-ftp chmod 755 /bin/git-ftp |
You have successfully installed git ftp for windows. You can use it in any project you want on the system.
If you want to use it in your project once use following command in root directory of your project with git bash
1 2 3 4 | # Setup git config git-ftp.url "ftp://ftp.your-host.com:21/public_html" git config git-ftp.user "your-ftp-user" git config git-ftp.password "your-password" |
(Replace it with your config )