How To Transfer File Using Putty Serial Connect
I am attempting to enable web-management functionality on my Dell PowerConnect2824.
From what I can tell by reading the manual I need to connect via the serial port to enable web functionality.
- Transferring files with Putty (pscp/plink.exe) The default putty installation provides multiple ways to transfer files. Most likely putty is on your default path, so you can directly call putty from the command prompt. If it doesnt, you may have to change your environmental variables.
- Transferring files to remote systems using the PuTTY Secure Copy Client (pscp) Usually, the Linux users and admins use ‘scp’ command line tool to transfer files from local Linux system to the remote Linux servers. PuTTY does have a dedicated client named PuTTY Secure Copy Clinet (PSCP in short) to do this job. If you’re using windows os in your local system, you may need this tool to transfer files from local system to remote systems.
File transfer over a serial line. To set your PATH more permanently on Windows NT, 2. XP, use the Advanced tab of the System Control Panel (right- click on My. Computer then select Properties). Setup Serial Console Connection using PuTTy. Using a USB to Serial adapter and Terminal Emulator in. Z Technology recommends using a USB 2.0. SSH File Transfer with PuTTY. First we'll go over PSCP and we'll show you how to start it and use it to transfer files from your local computer to.
I picked up a serial-to-USB adaptor and installed the drivers onto my Windows 7 machine. It now shows up in my Device Manager under Ports, Prolific USB-to-Serial Comm Port (COM5).
However when I fire up PuTTY and choose 'serial' and enter COM5 the resulting terminal window simply hangs.
The PowerConnect uses VT100 protocol which from what I understand PuTTY recognizes. My serial settings are as follows:
Peter Mortensen4 Answers
Most switches that I have worked with do not use any flow control, so I double checked the Dell PowerConnect and it indeed does not use flow control.
From page 33 of the manual:9600 baud 8 data bits, 1 stop bit, and no paritySet flow control to noneUnder Properties, select VT100 for Emulation mode
jftugajftugaTry pressing Enter after connecting. As far as I know, there's no way for the device to know when PuTTY opens the serial port; an Enter keypress would serve as a 'attention' message and you should receive a reply.
This sounds stupid, but did you make sure that your serial to USB cable is also a null-modem cable?
I've had the same issue, until I figured out that I had to get a small null-modem bridge in order to actually communicate with a server with a serial console.
You probably need to read the switch's manual to see what serial options need to be set for Flow Control, Parity, etc. It should be in there somewhere.
MDMarraMDMarraNot the answer you're looking for? Browse other questions tagged puttyserial or ask your own question.
when calling SCP in PuTTY on my Win7 box, it doesn't let me use C:/, but I also have no idea where on my local machine it will look for files by default. None of program directory or user directory worked. For example, I saved file.txt next to PuTTY.exe, and also in C:UsersMe but calling SCP file.txt file.txt in PuTTY failed both times with
Download game snail mail 2 free. Take a break with Snail Mail, a Arcade & Action game originated by Sandlot Games. Guide Turbo the Snail through the universe to deliver Intergalactic Mail. SNAIL MAIL SCREENSHOTS. Free Download Snail Mail Screenshot 1 Free Download Snail Mail Screenshot 2 Free Download Snail Mail Screenshot 3. Download Snail Mail for free. Snail Mail is a wonderful racing game in which you have to deliver intergalactic mail as quickly as possible. Speedy Delivery! Guide Turbo the Snail through the furthest reaches of the universe to deliver Intergalactic Mail in this fast-paced racing game. But watch out for the evil slugs! Play through all 50 levels in Postal Mode, test your reflexes in Challenge Mode, and get the fastest time in Time Trials. Download Now.
cp: cannot stat 'file.txt'
So, how do I transfer a file to my server using PuTTY?
EDIT: Also, calling SCP file.txt myserver:file.txt
gives a similar error: file.txt: No such file or directory
migrated from stackoverflow.comSep 21 '11 at 8:07
This question came from our site for professional and enthusiast programmers.
6 Answers
Have you tried something like
The manual for Putty suggests
To send (a) file(s) to a remote server:
pscp [options] source [source..] [user@]host:target
So to copy the local file c:documentsfoo.txt
to the server example.com
as user fred
to the file /tmp/foo
you would type:
pscp c:documentsfoo.txt fred@example.com:/tmp/foo
Postscript
The Putty download page lets you download putty.zip
- a complete set of Putty tools or you can just download the tools you need (in which case you might have downloaded putty.exe but not yet have downloaded pscp.exe)
A solution that doesn't use PuTTY: Connect to server with FileZilla using SFTP to transfer files.
TrindazTrindazThere's no way to initiate a file transfer back to/from local Windows from a SSH session opened in PuTTY window.
Though the recent versions of PuTTY support connection-sharing.
While you still need to run a compatible file transfer client (the pscp
or the psftp
), no new login is required, it automatically (if enabled) makes use of an existing PuTTY session.
To enable the sharing see:
Sharing an SSH connection between PuTTY tools.
Alternative way, is to use WinSCP, a GUI SFTP/SCP client. While you browse the remote site, you can anytime open an SSH terminal to the same site using the Open in PuTTY command.
See Opening Session in PuTTY.
With an additional setup, you can even make PuTTY automatically navigate to the same directory you are browsing with WinSCP.
See Opening PuTTY in the Same Directory.
Putty Copy File To Local
(I'm the author of WinSCP)
Martin PrikrylMartin PrikrylI couldn't find pscp as suggested above and ended up using WinScp.
It's a client side program with a GUI which picks up your putty configs.
- In PSFTP open the folder you want to put the file in.
Ex. cd filename - In the command line type: lcd pathtofolder
Ex. lcd C:UsersLynPictures - Click enter and type: put filename
Ex. put lynhw1.pdf - Click enter and the file should be transferred
Hope it works for you as it does for me.
Note: I did this in PSFTP using Putty.
'PSFTP, the PuTTY SFTP client, is a tool for transferring files securely between computers using an SSH connection' - http://the.earth.li/~sgtatham/putty/0.52/htmldoc/Chapter6.html
Download PSFTP on the http://www.putty.org/ webpage. Under download putty here.
If you want to automate this kind of file transfer via .bat
:
(where input.lst
is a text file with targets listed)