StartByte Property
The byte offset from which to start the upload or download.
Syntax
ANSI (Cross Platform)
int64 GetStartByte();
int SetStartByte(int64 lStartByte);
Unicode (Windows)
LONG64 GetStartByte();
INT SetStartByte(LONG64 lStartByte);
@property (nonatomic,readwrite,assign,getter=startByte,setter=setStartByte:) long long startByte;
- (long long)startByte;
- (void)setStartByte:(long long)newStartByte;
#define PID_SHAREFILE_STARTBYTE 95
IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property may be set to resume an upload or download; it specifies the offset in the file (or stream, when uploading) from which to resume. See UploadFile and DownloadFile for details 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 UploadFile is called. Keep this in mind when resuming interrupted uploads.
This property is not available at design time.
Data Type
Long64