25
9
When I try to fetch a directory with get "Path To\Directory\"
, I get the following error:
NT_STATUS_FILE_IS_A_DIRECTORY opening remote file Path To\Directory
How do I recursively download this directory?
(Using smbclient v3.6.23. The server is a computer running Windows 7 Home Edition.)
smbclient uses the same type of semantics that server clients like FTP and HTTP do, where each get or put targets one file. you can write scripts to perform retrievals by directory, or you can use the mget/mput commands to specify a mask or wildcard to retrieve multiple files, as shown in my answer. it may be that smbclient isn't quite the right tool for your purposes. – Frank Thomas – 2014-12-25T04:23:01.243