OFTPConnectionMaxRecordSize Property

This value determines the maximum length for a record in the outgoing virtual file.

Syntax

ANSI (Cross Platform)
int GetOFTPConnectionMaxRecordSize(int iConnectionId);
int SetOFTPConnectionMaxRecordSize(int iConnectionId, int iOFTPConnectionMaxRecordSize); Unicode (Windows) INT GetOFTPConnectionMaxRecordSize(INT iConnectionId);
INT SetOFTPConnectionMaxRecordSize(INT iConnectionId, INT iOFTPConnectionMaxRecordSize);
- (int)OFTPConnectionMaxRecordSize:(int)connectionId;
- (void)setOFTPConnectionMaxRecordSize:(int)connectionId:(int)newOFTPConnectionMaxRecordSize;
#define PID_OFTPSERVER_OFTPCONNECTIONMAXRECORDSIZE 14

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_OFTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPServer_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

This value determines the maximum length for a record in the outgoing virtual file. When OFTPConnectionVirtualFileFormat has been set to ffUnstructured or ffText, this value must be zero. When ffFixed or ffVariable, this must be set to a value greater than 0, containing the maximum line length of the outgoing file.

The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the OFTPConnectionCount property.

This property is not available at design time.

Data Type

Integer

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