RestartDirectory Property

The directory to log cached files when using AS2 restart functionality.

Syntax

ANSI (Cross Platform)
char* GetRestartDirectory();
int SetRestartDirectory(const char* lpszRestartDirectory); Unicode (Windows) LPWSTR GetRestartDirectory();
INT SetRestartDirectory(LPCWSTR lpszRestartDirectory);
@property (nonatomic,readwrite,assign,getter=restartDirectory,setter=setRestartDirectory:) NSString* restartDirectory;
- (NSString*)restartDirectory;
- (void)setRestartDirectory:(NSString*)newRestartDirectory;
#define PID_AS2SENDER_RESTARTDIRECTORY 81

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

If this property is set, the class will cache all data to the RestartDirectory. Thus, when sending a file is interrupted, the class can restart the transmission of the file starting where it was interrupted.

To use this functionality, simply set the RestartDirectory and call Restart.

When using restart functionality, the data is completely processed to the RestartDirectory before sending begins.

NOTE: This directory will not automatically be cleaned up.

Data Type

String

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