StartByte Property

The byte offset from which to resume the upload or download.

Syntax

public long getStartByte();
public void setStartByte(long startByte);

Default Value

0

Remarks

This property specifies the byte offset from which to resume an automatic multipart upload initiated by CreateObject, or a download initiated by GetObject. Refer to those methods' documentation for more information about resuming uploads and downloads.

When uploading from a stream, the class will always seek forward in the stream if the value of StartByte is greater than 0 when CreateObject is called. Keep this in mind when resuming interrupted object uploads.

Note: This property is automatically reset to 0 anytime ServiceProvider changes.

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 Java Edition - Version 20.0 [Build 8178]