smbclient sees file but cant find it

I have been using smbclient to grab files from a windows file system to an ubuntu based computer. It was working up until a few weeks ago. From ubuntu I do:smbclient -A ./credentialsFile //IP/path/to/folder -cat that point I am in the directory. I then domask "" andmget file.txtit responds withget file file.txt? I type y it then statesfailed to open \IP\path\to\folder\file.txt NT_STATUS_OBJECT_PATH_NOT_FOUND

I can manually use get to grab individual files. If I try to follow the same procedure to just grab the directory (mget folder (after recurse ON), it doesnt error, but also doesnt download any files.

this is the overall command that used to work:smbclient -A ~/.credentials //IP/path/to/ -c 'mask ""; recurse ON; prompt OFF; mget folder;' . Now it doesnt error but it also does nothing.

How can it know what file I am talking about yet be unable to find it?

5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like