Articles → Git → Upload files on FTP server using git-ftp

Upload files on FTP server using git-ftp






What is git-ftp?





Install git-ftp










cd /c/"Program Files"/Git




git clone https://github.com/git-ftp/git-ftp git-ftp.git








cd git-ftp.git && chmod +x git-ftp
cp /c/"Program Files"/Git/git-ftp.git/git-ftp /c/"Program Files"/Git/bin/git-ftp



Configure git-ftp and FTP server








git init




git config git-ftp.url ftp://ftp.yourdomain.com/whatever_path
git config git-ftp.user <ftp_username>
git config git-ftp.password <ftp_password>



Upload file on FTP server








git add .




git commit –m “<message>”




git ftp init



Posted By  -  Karan Gupta
 
Posted On  -  Thursday, November 07, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250