OFTPConnectionEncryptionAlgorithm Property
The encryption algorithm used when sending files to the client.
Syntax
ANSI (Cross Platform) int GetOFTPConnectionEncryptionAlgorithm(int iConnectionId);
int SetOFTPConnectionEncryptionAlgorithm(int iConnectionId, int iOFTPConnectionEncryptionAlgorithm); Unicode (Windows) INT GetOFTPConnectionEncryptionAlgorithm(INT iConnectionId);
INT SetOFTPConnectionEncryptionAlgorithm(INT iConnectionId, INT iOFTPConnectionEncryptionAlgorithm);
Possible Values
CONENCRA_3DES(0),
CONENCRA_AES(1)
- (int)OFTPConnectionEncryptionAlgorithm:(int)connectionId; - (void)setOFTPConnectionEncryptionAlgorithm:(int)connectionId:(int)newOFTPConnectionEncryptionAlgorithm;
Possible Values
CONENCRA_3DES(0),
CONENCRA_AES(1)
#define PID_OFTPSERVER_OFTPCONNECTIONENCRYPTIONALGORITHM 12 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
The encryption algorithm used when sending files to the client.
In order to use encryption, you must set the OFTPConnectionVirtualFileSecurityLevel property. The supported algorithms for encryption are:
0 (encra3DES - default) | DES (Triple Data Encryption Standard). |
1 (encraAES) | AES (Advanced Encryption Standard with key length of 128). |
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