How To Transfer File Using Putty Serial Communication

How To Transfer File Using Putty Serial Communication Average ratng: 5,0/5 1922 reviews

PuTTY is a free and open-source terminal emulator, serial console and network file transfer. It can also be used with local serial port connections.

  1. How To Transfer File Using Putty Serial Communications
  2. How To Transfer File Using Bluetooth

I brought a new hardware (connected through USB as /dev/ttyUSB0).I need to transfer a binary os.bin file through serial. The hardware has a inbuilt UART driver.

I downloaded putty & couldn't see any file transfer method in the options.

But I do see file transfer options in Teraterm, but many:kermit, X,Y & ZMODEM, Quick Van and B-Plus.

Now, I don't know about any of the protocol mentioned above.

I expect the new hardware to have only UART driver. (at a specified baud rate 115200 8N1 as mentioned in the manual)

Now, how can I tranfer os.bin to HW? & Which option should I choose in Teraterm if I use Teraterm?

snipersniper

3 Answers

There is an option in Teraterm under File->Send file... that can be used to send binary file over.

If you have a binary file just check the box 'binary' in the option section of the sendFile Window before pressing 'Open' with your specific file selected.

Some information about sendfile here: https://ttssh2.osdn.jp/manual/en/macro/command/sendfile.html

MickaelTMickaelT

You can use plink from putty package.

Also you can use slattach utility to establish p2p network connection to another device.

OrientOrient

Using the Teraterm File ->Send file... command will send the contents of the file, but you still need something running on the remote machine to receive it (otherwise it just dumps the contents of the file to the command line or whatever other command processor the remote machine is running).

Although I'm sure there are better and more sophisticated ways to do this, I sent a text file by opening an editor on the remote machine (I used vi but ymmv) and then executing the Teraterm File ->Send file... command, so the contents of the file were dumped into the editor.

The principle is the same for Kermit, Xmodem, etc., in that for any of these to work you need to be running the appropriate program on the receiver (e.g. Kermit) before initiating the send on Teraterm.

John Michael ThomasJohn Michael Thomas

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

Jump to navigationJump to search
PuTTY
Developer(s)Simon Tatham
Initial releaseJanuary 8, 1999; 20 years ago[1]
Stable release
0.71 / March 16, 2019; 2 months ago[2]
Repository
Written inC
Operating systemMicrosoft Windows, macOS, Linux
TypeTerminal emulator
LicenseMIT license
Websitewww.chiark.greenend.org.uk/~sgtatham/putty

PuTTY (/ˈpʌti/)[3] is a free and open-sourceterminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port. The name 'PuTTY' has no official meaning.[4]

PuTTY was originally written for Microsoft Windows, but it has been ported to various other operating systems. Official ports are available for some Unix-like platforms, with work-in-progress ports to Classic Mac OS and macOS, and unofficial ports have been contributed to platforms such as Symbian,[5][6]Windows Mobile and Windows Phone.

PuTTY was written and is maintained primarily by Simon Tatham.

Features[edit]

Using

PuTTY supports many variations on the secure remote terminal, and provides user control over the SSH encryption key and protocol version, alternate ciphers such as AES, 3DES, Arcfour, Blowfish, DES, and Public-key authentication. PuTTY supports SSO through GSSAPI, including user provided GSSAPI DLLs. It also can emulate control sequences from xterm, VT220, VT102 or ECMA-48terminal emulation, and allows local, remote, or dynamic port forwarding with SSH (including X11 forwarding). The network communication layer supports IPv6, and the SSH protocol supports the zlib@openssh.com delayed compression scheme. It can also be used with local serial port connections.

PuTTY comes bundled with command-line SCP and SFTP clients, called 'pscp' and 'psftp' respectively, and plink, a command-line connection tool, used for non-interactive sessions.[7]

PuTTY does not support session tabs directly, but many wrappers are available that do.[8]

History[edit]

PuTTY's development dates back to late 1998,[1] and it has been a usable SSH-2 client since October 2000.[9][10]

Components[edit]

PuTTY consists of several components:

  • PuTTY: the Telnet, rlogin, and SSH client itself, which can also connect to a serial port
  • PSCP: an SCP client, i.e. command-line secure file copy. Can also use SFTP to perform transfers
  • PSFTP: an SFTP client, i.e. general file transfer sessions much like FTP
  • PuTTYtel: a Telnet-only client
  • Plink: a command-line interface to the PuTTY back ends. Usually used for SSH Tunneling
  • Pageant: an SSH authentication agent for PuTTY, PSCP and Plink
  • PuTTYgen: an RSA, DSA, ECDSA and EdDSA key generation utility
  • pterm: a standalone terminal emulator

Reception[edit]

In 2009, Justin James of TechRepublic cited its reliability, cost, cross-platform support, and features as positives. He faulted complex configuration, extended beta testing, and lack of support for scripting.[11] J. Peter Bruzzese of InfoWorld included it in his list of 15 Essential Open Source Tools for Windows Admins and wrote that its imitators are not as good.[12]

See also[edit]

References[edit]

How To Transfer File Using Putty Serial Communications

  1. ^ abEarliest documented release
  2. ^PuTTY version 0.71 is released
  3. ^Putty FAQ – Pronunciation
  4. ^'PuTTY FAQ'. [PuTTY is] the name of a popular SSH and Telnet client. Any other meaning is in the eye of the beholder. It's been rumoured that ‘PuTTY’ is the antonym of ‘getty’, or that it's the stuff that makes your Windows useful, or that it's a kind of plutonium Teletype. We couldn't possibly comment on such allegations.
  5. ^PuTTY for Symbian OS
  6. ^Forum Nokia Wiki – PuTTY for Symbian OSArchived 2012-07-16 at Archive.today
  7. ^Barrett, Daniel; Silverman, Richard; Byrnes, Robert (2005). SSH, The Secure Shell: The Definitive Guide. O'Reilly Media. pp. 577–579. ISBN9780596008956.
  8. ^PuTTY Features
  9. ^PuTTY FAQ: Does PuTTY support SSH-2?
  10. ^PuTTY Change Log
  11. ^James, Justin (2009-08-06). 'Review: PuTTY terminal application'. TechRepublic. Retrieved 2015-09-18.
  12. ^Bruzzese, J. Peter (2014-12-08). '15 essential open source tools for Windows admins'. InfoWorld. Retrieved 2015-09-18.

External links[edit]

Wikimedia Commons has media related to PuTTY.
Retrieved from 'https://en.wikipedia.org/w/index.php?title=PuTTY&oldid=894981117'
Categories:

How To Transfer File Using Bluetooth

Hidden categories: