Could not upload files error in GitFTP

浪子不回头ぞ 提交于 2019-12-05 09:06:10
dpidan

You can see output of the exact error by using the '-v' flag for super-verbose output.

The problem could be one of the following

  1. Incorrect FTP credentials - check that the server, username, and password are all correct.
    • URL/server: make sure to include the protocol with the URL if not standard FTP (sftp://ftp.domain.com:22).
    • Password: Try also removing the quotes around the password
  2. The server path is not set or incorrect. Often, an FTP login takes you to the server root. You may not have write-privileges there. You'll need to set the site root path.
    • try setting path with in the URL argument ftp://ftp.domain.com/public_html

Try doing an 'init' via command-line arguments instead (NOT via Git config settings) and set verbose output using '-v':

git ftp init -u username -p 'password' -v ftpserverurl.com

I think you should use ftp-git, it's a GUI tool to push changed files in git repository to ftp server. And it's more error-friendly.

You can check the changed files in GUI way, and it can save your ftp connection details for future use.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!