M HYPE SPLASH
// news

How to copy files using telnet from the remote pc to my pc

By Abigail Rogers

For our school project, a friend and I have been assigned the task of finding a way to to transfer files from computer to computer via telnet. Does anyone know of a simple set of commands, or a GUI tool, by which to do so?

6

2 Answers

If the client side supports logging, you could simply run a utility on the remote system to "uuencode" the file and output to stdout. You can then pull the file from the log and "uudecode" it locally. (PuTTY is a great telnet client and supports logging, I'm sure the built-in Windows Hyperterminal does as well.)

An answer on the Server Fault website suggests C-Kermit. I've never used it - it looks like it might work over an existing network connection like Telnet rather than only via serial.

Of course if you don't have an absolutely strict requirement to use the Telnet protocol to transfer the file, there's about thousand better ways to transfer files. Look into nc (netcat).

Depending on your telnet client - if you have one which supports x/y/zmodem emulation might be to use one of the old file transfer protocols (like Xmodem or zmodem). (look for an sz or lrzsz package on the server side). Then just sz (filename) on the server side.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy