老师,请问为什么不能将文件传送到linux服务器上啊?(老师,极客的这系统也太过分了吧,图片上传了n次显示出错了,没办法只能贴代码咯)
json:
"type": "sftp",
"save_before_upload": true,
"upload_on_save": false,
"sync_down_on_open": false,
"sync_skip_deletes": false,
"sync_same_age": true,
"confirm_downloads": false,
"confirm_sync": true,
"confirm_overwrite_newer": false,
"host": "127.0.0.1",
"user": "root",
"password": "0954281879wl",
//"port": "22",
"remote_path": "/home/hello/",
shell脚本:
Last login: Wed Feb 7 22:17:23 2018 from 10.0.2.2
[root@localhost ~]# mkdir /home/hello
mkdir: cannot create directory ‘/home/hello’: File exists
[root@localhost ~]# rm -rf /home/hello
[root@localhost ~]# mkdir /home/hello
[root@localhost ~]# cd /home/hello/
[root@localhost hello]# ll
total 0
文件名显示为0,为什么?