How do I copy a file from a local machine to a server using PuTTY?
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
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 80.3k19 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 20.1k9 gold badges71 silver badges152 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,21436 gold badges40 silver badges52 bronze badges answered Mar 20, 2018 at 14:04
3 |