in reply to how copy dir in NET::SFTP

According to the documentation in Net::SFTP get does transfer a file, not a directory.

Transfer of a directory is done by making a local directory , chdir there, and get the files one by one from the remote directory.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}