git ftp resmo git-ftp.log
我正在使用resmo提供的git ftp。 . 当我像这样运行第一个init命令(以及带有push的olso)时git ftp resmo git-ftp.log,git,upload,ftp,git-ftp,Git,Upload,Ftp,Git Ftp,我正在使用resmo提供的git ftp。 . 当我像这样运行第一个init命令(以及带有push的olso)时 git ftp init -vv -u xxxxxxx@aruba.it -p - ftp.mydomain.com 有一个致命的问题 There are 1 files to sync: [1 of 1] Buffered for upload 'index.php'. Uploading ... fatal: Could not upload file: '.git-ftp.l
git ftp init -vv -u xxxxxxx@aruba.it -p - ftp.mydomain.com
有一个致命的问题
There are 1 files to sync:
[1 of 1] Buffered for upload 'index.php'.
Uploading ...
fatal: Could not upload file: '.git-ftp.log'., exiting...
fatal: Could not upload., exiting...
这里的全部理由
请确保我在“.git”本地文件夹中设置了以下配置文件:
[git-ftp]
user = xxxxxxx@aruba.it
url = ftp://ftp.mydomain.com
password = xxmypassxx
deployedsha1file = public/.git-ftp.log
在我以777权限在远程上设置了“public”文件夹,但在本地,我没有这个文件(.git ftp.log)。。。我能做些什么来创建它
我试图在remote中手动创建它,只是想知道我是否有权限并且可以
ftp用户和密码正确。我能做些什么来解决这个问题?好的,经过大量测试,我发现了这个愚蠢的问题。 它(一个意大利主机)在根目录中创建一个子目录 像这样:
~/www.mydomain.com/public/...
因此,只需在url参数中设置ftp之后的文件夹:
url = ftp://ftp.mydomain.com/www.mydomain.com/public
…我希望这可以帮助其他人如果问题得到解决,请将您的编辑从上方移动到回答中,以便将问题从“未回答”列表中删除;)好的,我成功了,谢谢:)