scp command

Fri, 01 May 2026 06:33:24 +0000

How can I copy a file/folder from windows to linux (putty), probably using scp command? I used scp user@hostname (windows):c:\folder\filname user@hostname (Linux):/folder/filename. By including -r option in scp command will solve the problem of /path-to-source/: not a regular file but it will flood your terminal with all the progress while copying the files. I want to be able to transfer a directory and all its files from my local machine to my remote one. I dont use SCP much so I am a bit confused. I am connected to my remote machine via ssh and I ty... Using the stock 'scp' from a recent Windows Server 2022 version I was able to use the command from this answer above, but with using a colon in the drive specifier, as the first path segment on the.