Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 17 » MobiLink and SAP HANA Remote Data Sync - Client Administration » SQL Anywhere clients for MobiLink » MobiLink SQL Anywhere client extended options

ContinueDownload (cd) extended option

Restarts a previously failed download.

cd={ ON | OFF }; ...
ContinueDownload={ ON | OFF }; ...

This option can only be used if the -kpd dbmlsync option or the KeepPartialDownload synchronization profile option was specified on the synchronization that failed.

If dbmlsync does not receive the entire download from the server, dbmlsync does not apply any of the download data to the remote database. However, if the -kpd dbmlsync option was specified on the failed download, dbmlsync stores the part of the download it did receive in a temporary file on the remote device, so that it can be restarted later. When you set the extended option cd=on, dbmlsync restarts the download and attempts to download the part of the previous download that it did not receive. If it is able to download the remaining data, it applies the complete download to your remote database.

If there is any new data to be uploaded when you set cd=on, the synchronization fails without restarting the download. If the download cannot be restarted, synchronization fails.

You can also restart a download with the -dc option or with the sp_hook_dbmlsync_end hook.


The following dbmlsync command line illustrates how you can set this option when you start dbmlsync:

dbmlsync -e "cd=on"

The following SQL statement illustrates how you can store this option in the database:

   TO sales_publication
   FOR ml_user1
   OPTION cd='on';