解決方法:
方法1:修改權限 chmod 777 目的地文件夾。
方法2: 此時需要把xftp切換到root用戶下進行傳輸。
補充:xftp不能使用root登錄的解決辦法
1 編輯vim /etc/ssh/sshd_config文件
把PermitRootLogin Prohibit-password 添加#注釋掉
新添加:PermitRootLogin yes
更改PermitEmptyPasswords為 no
2 然后重啟ssh服務
service ssh restart(或者執行:/etc/init.d/ssh restart)
3.重啟服務器
shutdown -r now