Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When use lrzsz command upload/donwload files ,sometime the files md5sum not matched #5243

Closed
zhixiangjoy opened this issue Dec 21, 2021 · 6 comments

Comments

@zhixiangjoy
Copy link

Version: 1.0.168
Platform: Windows x64 10.0.19044
Plugins: search-in-browser, save-output, relaxed-theme, quick-cmds, altair
Frontend: xterm

Thanks for awesome project, recently I use tabby tansfer files via lrzsz command between tow VM that in difference VPC, first I use sz download the file I used to local windows machine , then I use rz command to upload file to destination VM , sometime tow files md5 not consistent , the final file I upload to dest VM which is damaged. Is there any setting to tune the zmodem? Thanks!

There is some screenshots for this problems:
image
image
image


Tips:

  • Two VMs is connect via jumpserver , not direct connect via ssh.
  • After download file use sz command, the file md5 is changed, not in upload process.
@garywu520
Copy link

与jms无关,直接连接使用sz下载文件md5也会不一致。lrzsz在这个上面就是鸡肋,暂时用SFTP吧

@zhixiangjoy
Copy link
Author

与jms无关,直接连接使用sz下载文件md5也会不一致。lrzsz在这个上面就是鸡肋,暂时用SFTP吧
主要是文件损坏了,tar压缩包不能正常解压,或者是rpm包损坏等,以前用xshell没遇到这种情况。

@garywu520
Copy link

另一个方案:iTerm2+SCP(虽然发这里不太合适)

@zhixiangjoy
Copy link
Author

还有就是目标机器需要跳板机才能访问,本地也不能直接访问,这种情况目前没有找到比lrzsz更好的替代方案。

@shengminjie
Copy link

typing chinese, this auther how to understand this problem? iTerm2 with lrzsz work is normal.

@Eugeny Eugeny closed this as completed in 9c89bab Nov 20, 2022
@FLZ101
Copy link

FLZ101 commented Aug 23, 2023

You need -b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants