目前已经解决:可以参考下面的回帖 根据提示创建了指向:/mnt/mmcblk0p1/tffiles的快捷方式 这个目录是命令创建的:mkdir -p /mnt/mmcblk0p1/tffiles 执行命令:ln -s /mnt/mmcblk0p1/tffiles /var/www/html/files/tffiles 并修改了文件:_h5ai.up.php文件 把$path='/.home/'; 修改为了$path='/.tffiles/'; 但是还是提示上传失败 设置的快捷方式存在目录: 代码修改: 上传结果:
mkdir -p /mnt/mmcblk0p1/tffiles
ln -s /mnt/mmcblk0p1/tffiles /var/www/html/files/tffiles
$path='/.home/';
$path='/.tffiles/';
我解决了,是权限问题,需要把文件目录的权限设置成777权限才行,在FZ客户端中右键选择文件夹, 把755设置成777确定即可 也是参考使用命令的方式设置,下面是我又找的命令:
假如我想设置/mnt/mmcblk0p1/tffiles/目录下的所有目录及文件权限为777,可使用以下命令: chmod -R 777 /mnt/mmcblk0p1/tffiles/
chmod -R 777 /mnt/mmcblk0p1/tffiles/