我正在关注http://anantgarg.com/2013/09/25/git-ftp-for-windows/上的教程并得到错误:
$ git ftp init
There are 720 files to sync:
[1 of 720] Buffered for upload '.gitignore'.
[2 of 720] Buffered for upload 'wp-config-sample.php'.
....
[24 of 720] Buffered for upload 'wp-content/plugins/woocommerce/admin/post-types/writepanels/order-item-html.php'.
Uploading ...
fatal: Could not upload files., exiting...
Run Code Online (Sandbox Code Playgroud)
可能是什么问题呢?我使用引号('mypassword')设置了密码,但仍然出现相同的错误
小智 10
通过对超级详细输出使用'-v'标志,可以看到确切错误的输出.
问题可能是以下之一
sftp://ftp.domain.com:22),请确保将协议包含在URL中.ftp://ftp.domain.com/public_html尝试通过命令行参数执行'init'(不通过Git配置设置)并使用'-v'设置详细输出:
git ftp init -u username -p 'password' -v ftpserverurl.com
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5294 次 |
| 最近记录: |