Problem :
I am using PuTTY. I am trying to copy a folder from one server to another server in Linux.
But I am getting this error on to the PuTTY console as
myfolder: Not a regular file
Is it possible to copy a folder using scp
?
It worked on a zip file when I tried it earlier on.
Solution :
Try scp -r
. It should do the trick.