在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 259|回复: 6

求教 ftp 文件格式转换

[复制链接]
发表于 2025-2-11 18:04:38 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
用 filezilla ftp 用ASCII的传输模式下载了一个二进制文件(实际是分割成多个文件的压缩文件). 有什么办法吧ASCII格式还原为binary格式呢?谢谢
发表于 2025-2-12 06:10:58 | 显示全部楼层
用asicii的方式传的binary文件呀?这个估计有问题的。
直接用cat 将多个文件合并到一个文件,试一下吧。
发表于 2025-2-12 06:42:55 | 显示全部楼层
如果您的文件是以二进制或 ascii 格式传输的,这不应该影响您的最终文件,但如果您的文件在传输过程中损坏(ascii 文件在传输过程中未被压缩),那么您应该再次下载它们。
发表于 2025-2-12 06:49:21 | 显示全部楼层
如果您的文件是以二进制或 ascii 格式传输的,这不会影响您的最终文件,但如果您的文件在传输过程中损坏,那么您应该再次下载它们。
发表于 2025-2-12 08:02:46 | 显示全部楼层
 楼主| 发表于 2025-2-12 10:07:53 | 显示全部楼层


tracy6969 发表于 2025-2-12 08:02
https://superuser.com/questions/195612/recovering-corrupted-files-uploaded-in-wrong-ftp-mode
https:/ ...


I tried the fixgz mentioned on the url, but unfortunitily it doesn't work. Thanks anyway
发表于 2025-2-12 11:58:34 | 显示全部楼层


tinytera 发表于 2025-2-12 10:07
I tried the fixgz mentioned on the url, but unfortunitily it doesn't work. Thanks anyway



[Crazy Idea]:
I think, that this problems occurs when you have characters translations between two systems setup with different languages then using Ascii mode transfer can or will cause a translation between some UTF-8 characters from one language into another one that may or may not have correspondent ascii code , if this happens then you can end up with a non-reversal condition if you don't know exact what kind of language interface was being used from the source server. But if you know that you could try to setup a a local VM just the same language and setup up a FTP Server there and transfer from your machine back to the Virtual Machine by FTP then I assuming the file was transmited in first place from internet to your machine without any problem you may have a success. If not the better you could do is try to have access to the original FTP and download it again using the Binary mode.

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-2-22 21:33 , Processed in 0.019755 second(s), 6 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表