ResizeFile Method
Resizes a file.
procedure ResizeFile(FilePath: String; NewSize: Int64);
Remarks
This method resizes the file at the specified FilePath in the share currently selected by Share. NewSize, which is specified in bytes, cannot be negative.