码迷,mamicode.com
首页 > 移动开发 > 详细

将文件上传到FTP服务器时报错451 No mapping for the Unicode

时间:2020-10-16 10:45:22      阅读:41      评论:0      收藏:0      [点我收藏+]

标签:ftp   type   app   targe   文件复制   character   map   byte   文件   

ftp将文件复制到FTP服务器时报错451 No mapping for the Unicode character exists in the target multi-byte code page.
一、FTP上传文件夹报错:
将文件复制到FTP服务器时发生错误。请检查是否有权限将文件放到该服务器上。详细信息:
200 Type set to l.
227 Entering Passive Mode(10,100,10,77,214,101).
451 No mapping for the Unicode character exists in the target multi-byte code page.

二、根据unicode character 判断是字符集错误,在“管理FTP站点”-高级设置中找到对应选项。
技术图片

三、Ftp那边设置的是utf8=true,那就只能输入utf8格式的文件了,所以要把这个编码检测设置为false,允许任何编码的文件上传.
技术图片
四、微软的东东 默认UTF8字符,按照以上步骤修改后测试 上传成功。

将文件上传到FTP服务器时报错451 No mapping for the Unicode

标签:ftp   type   app   targe   文件复制   character   map   byte   文件   

原文地址:https://blog.51cto.com/gaojinghui/2541884

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!