ParcelDownloadConfirm()


Confirm Download of Parcel from InBox and remove it.

Public Function ParcelDownloadConfirm(ByVal SessionID As String, _
                                     
ByVal ParcelID As Long) _
                                     
As Boolean

Parameters

SessionID
String - GUID
The current session's GUID in string format. This is a 32-character hexidecimal string in the format:
00000000-0000-0000-0000-000000000000. This is the value returned by the Login() function.
ParcelID
Long
The value assigned to track a specific Parcel on ECGrid.

Returns

Boolean 
True if successful, false on failure.

Remarks

Once a Parcel has been successfully downloaded from the InBox the first time (e.g. shows up in ParcelInBox() or ParcelInBoxEx() listing), use ParcelDownloadConfirm() to remove it from the pending download list.

If ParcelDownloadConfirm() is not called or the file deleted from disk through FTP or AS2, the system will generate a Pending Parcel Download message when the InBoxTimeout value is exceeded.

ParcelDownloadConfirm() physically removes the Parcel from the InBox on disk, which is used for other communication channels such as FTP and AS2.

Example

Visual Basic
[insert code sample]

EventID: 6005

See Also

ParcelDownload()
ParcelDownloadInner()
ParcelDownloadReset()
ParcelInBox()
ParcelInBoxEx()
MailboxInBoxTimeout()


© 2008-2011, Loren Data Corp.
All rights reserved.
ECGrid is a registered service mark of Loren Data Corp.
ECGridOS is a service mark of Loren Data Corp.