1. How To Transfer File Using Remote Desktop
  2. Putty Copy Files To Local
  3. How To Transfer File Using Putty Serial Connections

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. How To Transfer File Using Putty Serial Connection. SSH Connections Options. Putty has a default that selects SSH Version 2 but will fallback to SSH.

Active1 year ago

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.

Run the pscp.exe executable on the Windows command line to quickly copy files from a remote computer to the local computer hard drive. Click the 'Start' button on the Windows computer and click the 'Run' or 'Search' box. Type 'cmd' in the box and press the 'Enter' key and the command line window will appear. PuTTY is a terminal emulator application which can act as a client for the SSH, Telnet, rlogin, and raw TCP computing protocols. You can use putty for remote login or to control your router connected via serial devices. You can connect your router using PuTTY with serial port. All putty session information is stored on Windows registry by default. If you have several Putty sessions stored on your desktop and would like to transfer those to another desktop you will need to transfer “ HKEY_CURRENT_USER Software SimonTatham ” registry key and value. Connecting to a Linux server using Putty? First, let us start with downloading Putty installation file to our local system. WP Clone Plugin to Transfer a WordPress Website. How To Install Node.js on an Ubuntu 14.04 server. How to Access Email Accounts Using Webmail? How to transfer file in putty serial. Can you transfer files via puTTy using a serial. Need software to transfer files. Can you transfer files via puTTy using a serial. I am trying to bootload a file on a RS232 bridge using the serial option in PuTTY. Can not transfer USB. Is it possible to send the content of text file over PuTTY over serial.

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
jliu83jliu83Through
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
101k26 gold badges212 silver badges440 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.

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?

How To Transfer File Using Putty Serial Connections

How To Transfer File Using Remote Desktop

Kenster
5,2192 gold badges20 silver badges34 bronze badges
DimaKDimaK

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

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

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. Electronic workbench 5.12 win7. But this howto for PPP is about 15 years old.

Community

Putty Copy Files To Local

Joseph QuinseyJoseph Quinsey
4771 gold badge7 silver badges23 bronze badges

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

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 KemperAxel Kemper
2,7571 gold badge16 silver badges21 bronze badges

How To Transfer File Using Putty Serial Connections

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