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:\Users\Me but calling SCP file.txt file.txt in PuTTY failed both times with Show
So, how do I transfer a file to my server using PuTTY? EDIT: Also, calling asked Sep 21, 2011 at 3:34
2 Have you tried something like
The manual for Putty suggests
Postscript The
Putty download page lets you download answered Sep 21, 2011 at 9:08
RedGrittyBrickRedGrittyBrick 80k18 gold badges132 silver badges199 bronze badges 5 A solution that doesn't use PuTTY: Connect to server with FileZilla using SFTP to transfer files. answered Sep 21, 2011 at 4:30
TrindazTrindaz 6151 gold badge5 silver badges12 bronze badges There'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 To enable the sharing see: 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. (I'm the author of WinSCP) answered Apr 13, 2015 at 6:39
Martin PrikrylMartin Prikryl 19.7k8 gold badges70 silver badges150 bronze badges 0 I 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. answered May 1, 2014 at 13:25
JonnyRaaJonnyRaa 2031 gold badge3 silver badges10 bronze badges 1
Hope it works for you as it does for me. "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. answered Feb 8, 2017 at 23:41
1 If you want to automate this kind of file transfer via
(where
bertieb 7,20436 gold badges40 silver badges51 bronze badges answered Mar 20, 2018 at 14:04
3 How do I copy a file from Windows to Linux using PuTTY?You can use PSCP to copy files from Windows to Linux.. Download PSCP from putty.org.. Open cmd in the directory with pscp.exe file.. Type command pscp source_file user@host:destination_file. Ex. pscp sample.txt [email protected]:/mydata/sample.txt.. How do I upload a file to Linux using PuTTY?How to Upload Files. Create your custom index. html folder and have it ready to be uploaded to your public_html folder.. Type: >pscp source_filename userid@server_name:/path_destination_filename. ... . After you are done, open your website by typing in mason.gmu.edu/~username in the browser to see your files.. How do I transfer files from a local machine to a Linux server?Using SCP (SSH)
With the SCP command, you can transfer files from your computer to your Linux server and vice versa. As this utility uses SSH to move files, you'll need the SSH credential of your server to transfer files.
How do I copy a file from a local machine to a server using PuTTY?2 Answers. Download PSCP.EXE from Putty download page.. Open command prompt and type set PATH=<path to the pscp.exe file>. In command prompt point to the location of the pscp.exe using cd command.. Type pscp.. use the following command to copy file form remote server to the local system pscp [options] [user@]host:source target.. |