Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

migrated from stackoverflow.com Oct 10 '11 at 14:01

This question came from our site for professional and enthusiast programmers.

if you are using windows, try winscp –  Alessandro Pezzato Oct 10 '11 at 9:17

1 Answer 1

up vote 0 down vote accepted

Try scp -r. It should do the trick.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.