[英]Receive Files using teraterm ZMODEM
I'm using teraterm from my windows PC.我在我的 windows PC 上使用 teraterm。
I have a serial (USB) port conection to a board that is running linux.我有一个串行 (USB) 端口连接到运行 linux 的电路板。
I have access to the linux terminal throught teraterm.我可以通过 teraterm 访问 linux 终端。
This is the only way to interact with the board.这是与董事会互动的唯一方式。
I want to "copy" files from the board in my PC.我想从我的 PC 中的板上“复制”文件。 For this I thought on using the ZMODEM/receive option.为此,我考虑使用 ZMODEM/receive 选项。
When I choose the ZMODEM/send option I achieve to send files from my PC to the board, so I asume I have the rigth configuration.当我选择 ZMODEM/send 选项时,我实现了将文件从我的 PC 发送到开发板,所以我假设我有正确的配置。
However when I choose the ZMODEM/receive nothing happens, I cannot write the file's name.但是,当我选择 ZMODEM/receive 时,什么也没有发生,我无法写入文件名。 I think teraterm is waiting for the board to send it.我认为 teraterm 正在等待董事会发送它。
Is there a way to specify the filename from my PC and receiving it without "manipulating" the board?有没有办法从我的电脑指定文件名并在不“操纵”电路板的情况下接收它?
I can run sh scripts on the board, but I should not install new software in it.我可以在板上运行 sh 脚本,但我不应该在其中安装新软件。
I'm open to other solutions with teraterm (maybe ZMODEM is not the right way?)我对 teraterm 的其他解决方案持开放态度(也许 ZMODEM 不是正确的方法?)
I just got it.我刚刚明白了。
I had to use the sz
command on linux.我不得不在 linux 上使用sz
命令。
So, on the board I launched:所以,我在董事会上推出了:
sz /my/file/name.wow
and then click on transfer>ZMODEM>receive and the transfer started automatically:)然后点击传输>ZMODEM>接收,传输自动开始:)
I was used to work with ethe.net/ssh and just noticed this method taking a lot more time.我习惯于使用 ethe.net/ssh,只是注意到这种方法需要花费更多时间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.