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 – 2019-12-10T14:40:25.440lftp
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é – 2012-09-28T04:50:01.127