201
42
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.
Wow, sftp is basically useless as is.
– Eric Duminil – 6 years agolftp
helps a lot.2Recursive put/get was added to OpenSSH in 5.4, which was released in 2010. You may consider upgrading your servers as it also adds a lot of bug fixes and better security features. – Lèse majesté – 13 years ago