0

ssh command:

scp ~/local/app/file.txt /C:/myfolder

error message:

cp: cannot create regular file `/C:/myfolder/': No such file or directory

What is incorrect or what is the syntax for the local dir?

yoyo
  • 79
  • 3
  • 11

1 Answers1

1

If you have pscp.exe in your windows machine then you can try this command

pscp.exe user@remoteserver:~/local/app/file.txt /C:/myfolder

else you can use WinSCP

Rahul R Dhobi
  • 5,668
  • 1
  • 29
  • 38