Specifying or Retrieving whether Source File will be Removed after Successful Delivery (DeleteSourceFile)

icon_info.gif

Available in EFT Server 6.1 and later.

The ICIAS2SendActionParams::DeleteSourceFile Boolean property allows you to specify or retrieve whether source file will be removed after successful delivery to AS2 partner.

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

HRESULT DeleteSourceFile([in] VARIANT_BOOL newVal);

Example (VBScript):

Retrieving:

If AS2SendParams.DeleteSourceFile Then

MsgBox "Warning! Source file will be removed after delivery!"

End If

Specifying:

AS2SendParams.DeleteSourceFile = True