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'm using PSFTP and am looking to download two directories and all of their subdirectories and place them else where on my server.

I would think it would be as simple as

get dirname c:\localdirname
get dirname2 c:\localdirname2

But I get read permission errors, however, if I specify one file at a time, it works. Any ideas?

share|improve this question
    
I was able to figure it out. LCD to the local directory I want to save to, cd to the remote directory I need, then use mget * –  Dave Jun 29 '11 at 17:54

1 Answer 1

up vote 2 down vote accepted

Use get -r <dirname>.

To move directories within the same server, you can also use mv <oldname> <newname>.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.