Collection Contents Previous Next PDF

MobiLink Clients

Adaptive Server Anywhere Client Synchronization Parameters

dbmlsync options

dbmlsync extended options

ContinueDownload (cd) extended option

Function 

Specifies restartable downloads.

Syntax 

dbmlsync -e cd=ON | OFF }; ...

Description 

By default, if MobiLink fails during a download it doesn't apply any of the download data to the remote database. However, it stores the part of the download it did receive in a temporary file on the remote device, so that if you specify -e cd the next time you start dbmlsync, it can more quickly complete the download. When you specify -e cd, 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 use -dc, the restartable download will fail.

You can also specify restartable downloads for Adaptive Server Anywhere remote databases with the -dc option or with the sp_hook_dbmlsync_end hook.

This option has a short form and long form: you can use cd or ContinueDownload.

You can also store extended options in the database. For more information about dbmlsync extended options, see dbmlsync extended options.

See also 

Resuming failed downloads

sp_hook_dbmlsync_set_extended_options

-dc option

sp_hook_dbmlsync_end

Example 

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:

CREATE SYNCHRONIZATION SUBSCRIPTION
   TO sales_publication
   FOR ml_user1
   OPTION cd='on';

Collection Contents Previous Next PDF