var LObject := TS3Object.Create('my-bucket', 'my-object')
as IS3Object;
LObject.UploadFile(
'/path/to/file',
False,
procedure(
const AUploadId:
string; APartNumber: Integer; APartSize, APartWriteCount, AOverallSize, AOverallWriteCount: Int64;
var AAbort: Boolean)
begin
// Update your user interface with current progress.
end
);