Need to download a text file (.txt) using Putty

Asked By 0 points N/A Posted on -
qa-featured

Hello,

I am using Putty to remotely connecting to a Unix system. I need to download a text file (.txt) into my local machine using Putty. I want to know that which commands are required to download that .txt file using Putty. I am waiting for your expertise.

Thanks.

SHARE
Answered By 0 points N/A #107273

Need to download a text file (.txt) using Putty

qa-featured

You can use PSCP to download the .txt files. It is a command line application, and therefore you will not run it by simply double-clicking on its icon to run it. What you will need to do to run it to first bring up a console window, which is also called the ‘MS-DOS Prompt’  in the earlier versions of windows or the ‘Command Prompt’ in the latest version of windows operating systems like XP and Vista. The command prompt is available from the Programs section of your Start Menu.

To be able to start PSCP, you will need to make sure that it is on your PATH or in the current directory. The following is the code that you will need to type in the console windows so as to add the directory containing PSCP to your PATH environment variable:

set PATH=C:pathtoputtydirectory;%PATH%

Note that the above code will only work for the lifetime of that particular console window that you have opened.

-Chalk Talk

Login/Register to Answer

Related Questions