How to transfer file from ubuntu to windows using scp command

I tried to transfer file from ubuntu 20.04 to windows 10 using scp command.

scp “/home/tcd10/Documents/Anil/TestNoteDoc” laptop-m64u4rt7/armal@

But it show’s these below lines

cp: cannot create regular file ‘laptop-m64u4rt7/armal@’: No such file or directory


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @anilmallidi

What you can do is use pscp from the Putty download page and then use it from the Windows machine’s command line (CMD) to download the file. The syntax will be:

pscp username@ip_of_linux_machine:/home/ubuntu/myfile.ext C:\Users\Name\Downloads

Hope that helps!

Regards, Alex