我使用 git-ftp 并且工作了好几天,但突然坏了(几个小时后我成功上传),调试消息是:
+ git ftp push -vv --syncroot folder/ --auth $USERNAME --passwd $PASSWORD $URL
Thu Dec 6 13:48:12 UTC 2018: Using syncroot folder/ if exists.
Thu Dec 6 13:48:12 UTC 2018: Host is 'myhost.com'.
Thu Dec 6 13:48:12 UTC 2018: User is ''.
Thu Dec 6 13:48:12 UTC 2018: Password is set.
Thu Dec 6 13:48:12 UTC 2018: Path is 'remote_folder/'.
Thu Dec 6 13:48:12 UTC 2018: Syncroot is 'folder/'.
Thu Dec 6 13:48:12 UTC 2018: CACert is ''.
Thu Dec 6 13:48:12 UTC 2018: Insecure is ''.
Thu Dec 6 13:48:12 UTC 2018: Retrieving last commit from ftp://myhost.com/.
* Couldn't find host myhost.com in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
* Trying ***.***.***.**...
* Connected to myhost.com (***.***.***.**) port 21 (#0)
< 220 Host FTP Server
> USER anonymous
< 331 Password required for anonymous
> PASS ftp@example.com
< 530 Login incorrect.
* Access denied: 530
* Closing connection 0
curl: (67) Access denied: 530
Thu Dec 6 13:48:15 UTC 2018: fatal: Could not get last commit. Network down? Wrong URL? Use 'git ftp init' for the inital push., exiting...
.git-ftp.log 仍在远程,我没有更改任何变量。这是怎么回事?