I'm just learning to use sftp, and I want to copy a directory from the remote computer to my local computer. If I try
get [directory]
it gives me this error:
Cannot download non-regular file: /home/mpirocch/Documents
get -R
doesn't work, either.
Answer
Use the -r
(recursive) flag:
get -r *
No comments:
Post a Comment