Resuming failed downloads

Download failure is caused by a communication error during the download or a remote user cancelling the download. The MobiLink server holds download data that has not been received by the client so it may be used for a restartable. The server does not release download data until one of the following occurs:

  • The user successfully completes the download.

  • The user comes back with a new synchronization request without attempting to resume.

  • The cache is needed for new downloads. The oldest unsuccessful download is cleared first.

MobiLink has functionality that can assist with download failure recovery, and prevent retransmission of the entire download. This functionality has separate implementations for SQL Anywhere and UltraLite remote databases. See -ds mlsrv12 option.

Note

For a resumable download attempt to succeed, the remote database must connect to the same MobiLink server. If the remote database connects to a different MobiLink server or if the download has been pushed out of the same MobiLink server, the attempted resume will fail.

 When should you resume failed downloads?
 SQL Anywhere remote databases
 UltraLite remote databases