Is it possible to send the content of text file over PuTTY over a serial port?

前端 未结 1 1435
没有蜡笔的小新
没有蜡笔的小新 2020-12-18 03:16

I\'d like to send the text content of a file over the serial port, over PuTTY. I know that extensions exists such as Xmodem and Zmodem, but they all use some checksum proto

相关标签:
1条回答
  • 2020-12-18 03:41

    Use Plink (a command-line connection tool from PuTTY suite). It's a console application intended to automate connection tasks, like yours. Being a console application, you can redirect its input from a text file:

    plink.exe -serial -sercfg ... < input.txt
    

    See Using the command-line connection tool Plink

    See also related How to execute remote command using PuTTY over Telnet.

    0 讨论(0)
提交回复
热议问题