How To Transfer File Using Putty Serial Usb

Active1 year, 1 month ago

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. Using the command-line connection tool Plink. See also related How to execute remote command using PuTTY over Telnet. 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. Using the command-line connection tool Plink.

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 protocols to confirm that a file is sent over the port.

However, my requirements are more simple. I'd like to simply send a bunch of text (in a file) over the serial port in Windows (under Linux this would be must more simple), but my preferred terminal program is PuTTY. Is this possible? Is there another terminal program that has this type of feature built it?

Peter Mortensen
14.4k19 gold badges88 silver badges117 bronze badges
jliu83jliu83
5034 gold badges11 silver badges21 bronze badges

1 Answer

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:

See Using the command-line connection tool Plink

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

Martin PrikrylMartin Prikryl
102k27 gold badges214 silver badges446 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

How To Transfer File Using Putty Serial Usb To Computer

Not the answer you're looking for? Browse other questions tagged windowsserial-porttext-filesputty or ask your own question.

Active4 years, 11 months ago

I have 2 linux computers, and a serial line between them, one of them is only accessible through a serial line that has shell on it. How can I transfer files between the 2 computers?

I've heard that it can be done with some rz/sz magic..

Can I do the same trick with a pseudo-terminal instead of other computer?

Kenster
5,2542 gold badges20 silver badges35 bronze badges
DimaKDimaK

migrated from stackoverflow.comMay 3 '11 at 12:18

This question came from our site for professional and enthusiast programmers.

How To Transfer File Using Putty Serial Usb

3 Answers

You need a terminal application like minicom. Then you connect the two computers, start minicom on one side, connect to the other side (the one where you can login) and use the sz command to send the file. Minicom will automatically detect the file transfer. Note that you might need to install the sz command on the login machine, how that is done is dependent on your distribution.

DarkDustDarkDust

Copying txwikinger's answer, I would use kermit, the grandfather of file transfer programs. We used it in the 80's, long before there was Linux. Wikipedia suggests it may be better than zmodem (sz).

An alternative approach is to use SLIP or PPP, as suggested by Axel. But this howto for PPP is about 15 years old.

Community
Joseph QuinseyJoseph Quinsey
4771 gold badge7 silver badges23 bronze badges

You could make use of the 'Serial Line Internet Protocol' as described here.

I have been searching the internet over a month for a free ebook or pdf copy of the book and I cannot seem to find it! Private Parts [Howard Stern] on Amazon.com. *FREE* shipping on qualifying offers. The #1 bestseller and fastest selling autobiography of all time, Private Parts, will be released on March 14 as a major motion picture from Paramount Pictures and Rysher Entertainment. This is the event Stern's millions of fans have been. Private parts by Howard Stern, 1994, Pocket Star Books edition, in English. Howard stern mp3. DOWNLOAD Howard Stern- Private Parts By [PDF EBOOK EPUB KINDLE].. Read Online Howard Stern- Private Parts => http:// bestmedia.

Once two systems are interconnected by a slip line, you can use any IP-based tool (ftp, rcp, scp, ssh, ..) to exchange files. It probably takes too long to configure for a once-only purpose but might be worth looking at for embedded systems with RS232 port or old systems from a pre-LAN aera.

Axel Kemper

How To Transfer File Using Putty Serial Usb Player

Axel Kemper
2,7571 gold badge16 silver badges21 bronze badges

How To Transfer File Using Putty Serial Usb Driver

Not the answer you're looking for? Browse other questions tagged linuxfile-transferserial-port or ask your own question.