Restarts a previously failed download.
cd={ ON | OFF }; ...
If MobiLink fails during a download it does not 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 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 restartable download fails.
You can also specify restartable downloads for SQL 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 Introduction to dbmlsync extended options.
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'; |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |