[Samba] How to handle special characters in filenames

Henrik Zagerholm henke at mac.se
Tue May 16 08:19:01 GMT 2006


I'm using samba 3.0.21 on a FC 4 box.
I'm connecting to Win XP pro clients.

Using smbclient I can get and put files which contain '%' in file names.

Using libsmbclient smbc_open this is not possible. I get 'No such  
file or directory Errno::ENOENT' error.

Any ideas how to solve this.
I guess it has to do with escaping special characters in smb urls but  
I haven't found the correct way of doing this.

Any help would be greatly appreciated.


More information about the samba mailing list