Displaying 2 results from an estimated 2 matches for "smbc_".
Did you mean:
smbc
2004 Oct 19
0
libsmbclient ftruncate
...shrink files (basically do an ftruncate).
Looking at some ethereal captures, it looks like when a client wants to
do a shrink of a file, it issues a TRANS2 with SET_FILE_INFO and
SMB_FILE_END_OF_FILE_INFO, and SMB_FILE_ALLOCATION_INFO. Is there any way
I can approximate this using the current smbc_* functions, or do I have to
write it myself? Thanks in advance for any replies.
From,
Chris Lalancette
(P.S. Please CC me on any correspondence; I am not subscribed to the
list)
2007 May 10
2
programming libsmbclient
hi all,
I have a strange problem using the libsmbclient api..
retrieving or stating files named with percents in is for some
of them impossible. Example: a file located at "smb://test/test/%7C2.txt" cannot be retrieved
with my code, smbc_open fails with the code NT_STATUS_OBJECT_NAME_INVALID.
I am not sure but, url encoding/decoding that would escape strings with "percent" in should be 'internals'
of samba right ?
At the same time under the same constraints, a file named 'whatever-you-want-except-with-percen...