The Samba-Bugzilla – Bug 646
Last modified: 2005-11-14 09:24:24 UTC
smbclient isn't handling things correctly somewhere:
I've written a small program and told my shell to protect these arguments:
(bash> smbclient -N //host/share -c 'get "directory/filename with spaces.ext"')
get "directory/filename with spaces.ext"
ls "directory/filename with spaces.ext"
Specifically when there are spaces in the filename (maybe other characters), the
"get" command fails with this error:
NT_STATUS_NO_SUCH_FILE listing \directory/filename with spaces.ext
where "ls" gives this:
filename with spaces.ext A 699406336 Sun Sep 28 23:45:50 2003
38113 blocks of size 1048576. 184 blocks available
I have a feeling it's a fat finger error, as that slash in front of the get
error isn't supposed to be there and the ls returns just what I wanted.
ps I'm using the debian package marked only as 3.0.0-debian, which should be
please retest 3.0.3pre1. if you still see the error,
please provide more information such as a network trace or
level 10 debug log of the server (if running against Samba).
no response. Closing.