Putty Ymodem File Transfer

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.

Putty Ymodem File Transfer

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)

FileLink is the ultimate solution for secure file transfers over zmodem, ymodem and xmodem protocols. Launch sessions from DOS command line, batch file, script file or run continuously as an NT service.

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

snipersniper

3 Answers

What Is File Transfer

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.