ClearRange Method
Clears a range of bytes from a file.
Syntax
Remarks
This method clears the range of bytes from First to Last (inclusive) from the file at FilePath in the share currently selected by Share.
The server tracks ranges of file data in 512-byte chunks, aligned to the absolute beginning of the file. When this method is called, the server frees any such chunks that are completely covered by the specified range of bytes ([First]-[Last]), and writes 0s to the appropriate portions of any chunks which are not completely covered by that range.
Freed chunks are not included in the results returned by GetRanges.