使用FTP客户端上传文件时,提示Failed to convert command to8 bit charset或者451 No mapping for the Unicode character exists in the target multi-byte code page。本文介绍这种情况的可能原因和解决方案。

问题现象

使用FTP客户端上传文件时,出现如下报错信息:

  • 报错信息为Failed to convert command to 8 bit charset连接报错-1
  • 报错信息为451 No mapping for the Unicode character exists in the target multi-byte code page连接报错-2

可能原因

FTP客户端与FTP服务器所使用的编码不一致。

解决方案

  1. 启动FileZilla。
    本文操作以FileZilla为例,其他FTP客户端的操作方法类似。
  2. 在顶部菜单栏,选择文件 > 站点管理器
  3. 在弹出的站点管理器对话框的选择记录区域,左键单击报错的站点。
  4. 单击字符集页签,选择强制 UTF-8(U),单击连接
    强制字符
  5. 尝试再次上传文件。
    如问题仍未解决,请提交工单