OFTPConnectionVirtualFileSecurityLevel Property

Specifies security options for the outgoing or incoming file.

Syntax

int GetOFTPConnectionVirtualFileSecurityLevel(int iConnectionId);
int SetOFTPConnectionVirtualFileSecurityLevel(int iConnectionId, int iOFTPConnectionVirtualFileSecurityLevel);

Possible Values

SL_NONE(0), 
SL_ENCRYPTED(1),
SL_SIGNED(2),
SL_ENCRYPTED_AND_SIGNED(3)

Default Value

0

Remarks

Specifies security options for the outgoing or incoming file.

When receiving files, query this property to determine the security level of the file received from the client.

When sending files to the client, this property will be used to determine what security options apply to the outgoing file. Possible values are:

0 (slNone - default)The file will not be signed nor encrypted.
1 (slEncrypted)The file will be encrypted using the certificate specified by the OFTPConnectionRecipientCertSubject. property
2 (slSigned)The file will be signed using the certificate specified by the Certificate property;
3 (slEncryptedAndSigned)The file will be both signed and encrypted.

Note that this is only applicable when Version 2.0 of the protocol is used as indicated by OFTPConnectionVersion.

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 Qt Edition - Version 20.0 [Build 8203]