Transfer Resumption

If transfer resumption is enabled and a transfer is interrupted, resulting in an incomplete document, transfer resumption allows completion of the transfer.

By default, transfer resumption is off. You can edit the sftp.properties file to change the default behavior. To enable listing documents that are in the staging area, set listStagedDocuments=True (default is False). See Configure the sftp.properties File.

To support transfer resumption, the SFTP Server adapter keeps partial documents in a temporary document staging area. This allows SFTP clients to resume a transfer within a specified amount of time. If the transfer is not resumed within the specified time, the partial document is removed from the staging area (by the Partial Document Clean Up service) and is no longer available for resumption.

A common behavior by SFTP clients is to request a list of the directory contents before you resume a transfer. In response to list requests, the default behavior is for the SFTP Server adapter to return a listing that includes:

  • Complete documents in the target mailbox
  • Partial documents in the staging area
    Note: Partial documents are owned by a particular user. Sterling B2B Integrator only displays partial documents to the user by whom they are owned. If two documents with the same name exist in both the mailbox and the document staging area, only the partial document in the staging area is displayed.

If the SFTP Server adapter is configured to use extractability count, aborted message retrievals decrement the extractability count. If the count went to zero prematurely, you can modify the count number by editing the extractable count parameter of the message.

The SFTP Server adapter does not support moving partially uploaded messages. You must complete the upload to move a message.