一、 先确保你的SELinux关闭了,命令如下:
sestatus
返回“SELinux status: disabled”,可以进行下一步。否则看这篇文章:http://heipark.iteye.com/blog/1671578
二、确保你的上传目录权限为777
三、上传命令要写对:
√ put c:/Go.txt /data/cache4//src/Go.txt
X put c:/Go.txt /data/cache4//src/
X put c:/Go.txt /data/cache4//src/
--end
本文介绍如何设置服务器环境以便顺利上传文件。首先需确认SELinux已关闭,并调整上传目录权限为777,最后提供正确的上传命令示例。
2466

被折叠的 条评论
为什么被折叠?



