LPI
300-100 · Question #50
After successfully connecting to a remote CIFS share using smbclient, the command mget MyFiles is issued to retrieve the folder MyFiles, including all of its contents. Instead of transferring the…
The correct answer is D. The server has to support recursion for the given share which, on Samba, is enabled by setting. See the full explanation below for the reasoning.
Question
After successfully connecting to a remote CIFS share using smbclient, the command mget MyFiles is issued to retrieve the folder MyFiles, including all of its contents. Instead of transferring the folder, smbclient returns the error: NT_STATUS_NO_SUCH_FILE listing \MyFiles What should be done in order to download the contents of the folder?
Options
- AThe command recurse should be used to toggle recursion for mget and mput.
- BTo provide a target for the file transfer, the local folder MyFiles has to be created in advance.
- CThe command rget should be used instead of mget to perform recursive operations.
- DThe server has to support recursion for the given share which, on Samba, is enabled by setting
- Esmbclient should be used invoked with the 璻ecurse or 璻 parameter.
How the community answered
(24 responses)- B13% (3)
- C8% (2)
- D75% (18)
- E4% (1)
Community Discussion
No community discussion yet for this question.