PuTTY Secure Copy (PSCP) and PuTTY SFTP (PSFTP) enable you to transfer files to another system after opening a command window on a Windows computer. Both applications are available as free downloads.
Go to the download site and find the latest release version of the pscp.exe and psftp.exe files.
Click on each and save them to your hard drive—for example, in your C:\Users\username\Downloads folder or in C:\Program Files.
To run either program, first open a command window:
Then follow the applicable instructions below.
To copy a file or files using PSCP, open a command window and change to the directory in which you saved pscp.exe.
Then type pscp, followed by the path that identifies the files to copy and the target directory, as in this example.
Press Enter, then follow your usual authentication procedures to execute the transfer.
When the transfer is complete, type exit, then press Enter to close the command window.
Open your command window, then change to the directory in which you saved psftp.exe.
To start a session, type psftp followed by your login for the target computer.
Press Enter, then follow your usual authentication procedures to log in to the remote machine.
Within the session that you just started, you can copy a file or files from your computer to the remote system by changing between directories as needed and executing multiple put commands*.
Use lcd to change local directories, and cd to change directories on the remote system, as in this example:
To end the psftp session, type exit, then press Enter.
To close the command window, type exit again, then press Enter.
* To copy multiple files, you can use a wildcard and an mput or mget command rather than put or get.