IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

FileData Property

The data that was downloaded, or that should be uploaded.

Syntax

ANSI (Cross Platform)
int GetFileData(char* &lpFileData, int &lenFileData);
int SetFileData(const char* lpFileData, int lenFileData); Unicode (Windows) INT GetFileData(LPSTR &lpFileData, INT &lenFileData);
INT SetFileData(LPCSTR lpFileData, INT lenFileData);
@property (nonatomic,readwrite,assign,getter=fileData,setter=setFileData:) NSString* fileData;
- (NSString*)fileData;
- (void)setFileData:(NSString*)newFileData;

@property (nonatomic,readwrite,assign,getter=fileDataB,setter=setFileDataB:) NSData* fileDataB; - (NSData*)fileDataB; - (void)setFileDataB:(NSData*)newFileData;
#define PID_BACKBLAZEB2_FILEDATA 28

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_BackblazeB2_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_BackblazeB2_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property is populated with file data after calling DownloadFile or DownloadFileById if SetDownloadStream and LocalFile are not set.

This property can also be set before calling UploadFile or UploadPart; its data will be uploaded if SetUploadStream and LocalFile are not set.

This property is not available at design time.

Data Type

Binary String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 C++ Edition - Version 20.0 [Build 8265]