How To Transfer File Using Putty Serial Setting

Going to Download this weekend? Here's our guide to the festival and how you can get involved. Download 2012 music.

Transfer Files Using PuTTY Open a. The Systems Administration group supports the use of encrypted protocols during file transfer. Using an encrypted protocol. File transfer over a serial port using. If I'm not mistaken SCP and puTTY don't allow the transfer of a file over a serial. File transfer over a serial line. To set your PATH more permanently on Windows NT, 2. Another alternative to using flow control is to implement one of the fairly ancient protocols like XMODEM which are fairly simple and don't consume a lot of code space, if you have a little over 1k of RAM available then I've used this code and it works. ExtraPuTTY is a fork of PuTTY that adds XMODEM and a few other file transfer protocols. Here's a neat way to transfer files between your Windows PC and your Linux (Ubuntu) project using Ethernet. File transfers can be done using PSCP (Putty Secure CoPy) or by using PSFTP (Putty Secure File Transfer Protocol). This will only work for the lifetime of that particular console window.

  1. How To Transfer File Using Putty Serial Setting On Mac
  2. Transfer Files From Windows To Linux Putty
  3. How To Use Putty Software
Active1 year, 7 months ago

I am looking for a way to transfer a file over from my Windows 8 computer to a PandaBoard (has OMAP Ubuntu on it) using a serial cable.

The solution should work in general for any ARM board, so for that reason I am using the serial port. However I am unable to transfer over a file.

If I'm not mistaken SCP and PuTTY don't allow the transfer of a file over a serial port. Or I'm trying it in a wrong way. I have also tried HyperTerminal on Windows 8, but I keep having time-outs when using the file transfer for whatever protocol I select (XModem, Zmodem, etc.). I have the right specifications for serial port communication as I am able to use PuTTY to access the device and communicate with it.

How To Transfer File Using Putty Serial Setting On Mac

Any suggestions? The best solution would be one that works for Ubuntu/Linux as well.

How To Transfer File Using Putty Serial SettingPeter Mortensen
8,55916 gold badges62 silver badges85 bronze badges
LuizeLuize

2 Answers

If you're looking for a Linux based solution, then sending a file is as easy as running

and receiving a file is as easy as

But if you're on Windows it's not so easy. I would look and try to find a version of HyperTerminal (which used to come with WinXP, but they quit distributing it in the install *is sad*).

DanielDaniel
2721 gold badge2 silver badges18 bronze badges

For serial communications, like XModem/ZModem, I'd start with just basic communication. Can you get into a terminal program, and type on one end, and see the other end? If not, you may have issues that cannot be resolved with software: OpenBSD FAQ on Serial Connections states, 'we offer one hint: just because the ends plug in doesn't mean it will work.' So start by verifying that hardware works okay. If so, then also verify the basic communications settings: communication at 2400 or 9600 might be more prone to work with many hardware than 115200. 8N1 is a very common setting, 7E1 a bit less so, but such settings must match.

Whenever I've used SCP, it's been using TCP/IP, which means that an IP address must be assigned to both sides. That is a totally different communication design than trying to use raw serial communications like ZModem. Using IP will probably be easier once you've got IP working, although getting to the point of having IP working might be a bit more challenging overall, so ZModem may be an excellent choice.

I typically avoid XModem; some XModems don't even transfer the right number of bytes (but round up to a half-kilobyte), and don't transmit the filename. However, if you do use XModem (or YModem, but especially XModem), there are a number of variations, so you need to make sure you're using the same one. ZModem is typically more compatible with other ZModem implementations.

TOOGAMTOOGAM
11.8k3 gold badges26 silver badges48 bronze badges

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

How to install the PuTTy Secure Copy client and use it to transfer files

PuTTY is the CIT-recommended application for secure file transfer using SCP between Windows clients and Windows or Unix servers. Its secure copy utility is called PuTTy Secure Copy Protocol (PSCP).

PSCP and PuTTY are available from PuTTY.org.

Install PuTTY SCP (PSCP)

PSCP is a tool for transferring files securely between computers using an SSH connection. To use this utility, you should be comfortable working in the Windows Command Prompt.

Transfer Files From Windows To Linux Putty

  1. Download the PSCP utility from PuTTy.org by clicking the file name link and saving it to your computer. (If you also want to use the PuTTY shell program, you can download and save putty.exe to your computer as well.)
  2. The PuTTY SCP (PSCP) client does not require installation in Windows, but runs directly from a Command Prompt window. Move the client program file to a convenient location in your Programs folders and make a note of the location.
  3. To open a Command Prompt window, from the Start menu, click Run.

In Windows 10, open the Start menu and type cmd. Click the Command Prompt search result item that appears.
  1. A Command Prompt window will open. To be sure the utility launches correctly from any directory in the Command Prompt window, set up an environment path so your system knows where to look for it. You'll use the pscp.exe location that you made note of in Step 2. For example, if you've saved the pscp.exe file to the folder 'C:Program FilesPuTTy', set up a path by entering set PATH='%PATH%;%ProgramFiles%putty' at the prompt in the Command Prompt window.
  2. Entering the path in this way only lasts for the duration of the current session (that is, while you have the Command Prompt window open). To set up an environment variable path permanently, open the System control panel in Windows and click Advanced system settings, then click Environment Variables. In the Environment Variables window, select Path from the list of User variables, then click Edit. (If no Path variable is listed, click New.)
  3. In the Edit User Variable window, click New. Type or paste the directory path for the PSCP utility you noted in Step 2 (for example, C:/Program Files/putty) into the empty highlighted new line item.
  4. Click OK to save the new entry, then click OK again to close the Environment Variables window. The PSCP program file location is set up in your system and will not need to be entered each time you open a Command Prompt window.
Many users will not have sufficient administrative privileges to add or edit the Path environment variable permanently in their Windows System settings. In this case, contact the IT Service Desk for assistance in setting up PSCP, PuTTy, and Windows environment path variables.

Transfer files using PSCP

How To Use Putty Software

  1. Open the Command Prompt window, and if necessary set up your path variable as shown above in Step 4.

  2. To copy the local file c:documentsinfo.txt as user username to the server server.example.com with destination directory /tmp/foo, type at the prompt:
    pscp c:documentsinfo.txt userid@server.example.com:/tmp/foo/info.txt

  3. When prompted, enter your password for the server.

Review thecomplete documentation for PSCP and PuTTY on the PuTTY.org site.
Posted :