It seems that smbclient supports two quotation chars (>>"<< and >>'<<), but it
doesn't take into account, which character started a quotation. Therefore, it is
impossible to get files like >>john's letter.txt<<.
smb: \> get "john's letter.txt"
NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \johns
Furthermore, it is impossible to get files whose name contains a >>;<< directly
on the command line, as the commands are broken on any >>;<<, ignoring any
platon:~ # smbclient //host/share password -U user -W domain -c 'get "x;y.txt"'
NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \x
y.txt: command not found
I consider this bug to be critical, as one may loose data when using the 'del'
command and there is a file named >>x<< in the above example.
I think this is fixed in 3.0.6rc2. It was a bug caused by using "
and ' as token separators.
marking as fixed.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.