LocalDirectory Property

The directory to which received files are saved.

Syntax

ANSI (Cross Platform)
char* GetLocalDirectory();
int SetLocalDirectory(const char* lpszLocalDirectory); Unicode (Windows) LPWSTR GetLocalDirectory();
INT SetLocalDirectory(LPCWSTR lpszLocalDirectory);
@property (nonatomic,readwrite,assign,getter=localDirectory,setter=setLocalDirectory:) NSString* localDirectory;
- (NSString*)localDirectory;
- (void)setLocalDirectory:(NSString*)newLocalDirectory;
#define PID_XMPP_LOCALDIRECTORY 18

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_XMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_XMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This setting specifies the directory on disk to which received files will be saved. If this property is not set and a file is received the file data will be available through the Transfer event parameters. This property may also be set when the StartTransfer event fires.

Data Type

String

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