Specifying or Retrieving whether AS2 File will be Compressed before Sending (Compress)

Available in EFT Server 6.1 and later.

The ICIAS2SendActionParams::Compress Boolean property allows you to specify or retrieve whether an AS2 file will be compressed before sending.

HRESULT Compress([out, retval] VARIANT_BOOL* pVal);

HRESULT Compress([in] VARIANT_BOOL newVal);

Example (VBScript):

Retrieving:

If Not AS2SendParams.Compress Then

MsgBox "Sending large files without compression is time-consuming!"

End If

Specifying:

AS2SendParams.Compress = True