Displaying 1 result from an estimated 1 matches for "smb_file_end_of_file_info".
2004 Oct 19
0
libsmbclient ftruncate
...nto one of my
existing programs using libsmbclient. The interface has everything I
need, except for the ability to 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)