解决Fatal error: Unable to read 2147 bytes错误

简介:

今天在安装一个网店系统,出现了Fatal error: Unable to read 2147 bytes的错误,如下截图:

clip_image001

经过查找相关的资料,发现原来问题出在上传安装文件的地方。上传文件时,一定要选择“二进制”方式。FTP软件如果不设置为二进制传输,则在某些服务器上可能会导致各种各样的异常的问题,比如:白屏,乱码,异常的报错等等。因此请一定要安装下面的说明设置FTP。

下面整理相关FTP客户端FlashFXP、Filezilla、CuteFTP、LeapFTP等软件的设置方法供您参考:

FlashFXP设置二进制:选项/参数设置/传送:

clip_image002

FileZilla设置二进制:传输/传输类型/二进制:

clip_image003

CuteFTP英文版设置二进制:Tools/Global Options/transfer/General/Transfer/Binary:

clip_image004

CuteFTP中文版设置二进制:工具/全局选项/传输/常规/传输方式/二进制:

clip_image005

LeapFTP:在 Options(选项)菜单中选择 Parameters(参数设置),选择其中的(ASCII 扩展名),出现列表后,选中其中的“*.PHP”,点右边的(删除),再点右边的(确定)即可。如果“*.PHP”项目不存在的话,可直接使用,不需另行设置。

相关文章
|
13天前
|
Shell 网络安全 开发工具
fatal: unable to access 'https://github.com/wolfcw/libfaketime.git/': Encountered end of file
fatal: unable to access 'https://github.com/wolfcw/libfaketime.git/': Encountered end of file
|
4月前
|
缓存
Error: EIO: i/o error, read如何解决
Error: EIO: i/o error, read如何解决
|
5月前
|
NoSQL Redis
解决(error) ERR Errors trying to SHUTDOWN. Check logs.问题~
解决(error) ERR Errors trying to SHUTDOWN. Check logs.问题~
121 0
使用errors.Wrapf()代替log.Error()
使用errors.Wrapf()代替log.Error()
52 0
|
关系型数据库 MySQL C++
Error:fatal error C1010: unexpected end of file while looking for precompiled head
Error:fatal error C1010: unexpected end of file while looking for precompiled head
109 0
排错-Error--memory violation Exception ACCESS_VIOLATION received解决方
排错-Error--memory violation Exception ACCESS_VIOLATION received解决方
210 0
SignTool Error: An error occurred while attempting/Error information: “SignerTimeStamp() failed.“
SignTool Error: An error occurred while attempting/Error information: “SignerTimeStamp() failed.“
141 0
|
Go iOS开发
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
434 0
|
SQL 监控
backup log is terminating abnormally because for write on file failed: 112(error not found)
昨天遇到一个案例,YourSQLDba做事务日志备份时失败,检查YourSQLDba输出的错误信息如下:   yMaint.backups backup log [gewem] to disk = 'M:\DB_BACKUP\LOG_BACKUP\xxxx_[2016-11-22_01h11m05_Tue]_logs.
1231 0