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

SQL Anywhere 11.0.1 » UltraLite - Database Management and Reference » UltraLite as a MobiLink Client » UltraLite synchronization parameters and network protocol options » Synchronization parameters for UltraLite

 

Upload Only synchronization parameter

Indicates that there should be no downloads in the current synchronization, which can save communication time, especially over slow communication links.

Syntax

The syntax varies depending on the API you use. You can also set this parameter with ulsync.

Default

False

Allowed values

Boolean

Conflicts with

Download Only, Ping, and Resume Partial Download

Remarks

When set to true, the client waits for the upload acknowledgement from the MobiLink server, after which it terminates the synchronization session successfully.

See also
Examples

ulsync can set this parameter as an extended synchronization parameter as follows:

ulsync -c DBF=myuldb.udb "MobiLinkUid=remoteA;ScriptVersion=2;UploadOnly=True;Stream=http"

UltraLite for C/C++ applications can set the parameter as follows:

ul_synch_info info;
// ...
info.upload_only = ul_true;