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

SQL Anywhere 10.0.1 » MobiLink - Server Administration » Direct Row Handling

Quick start Next Page

Handling direct uploads


To handle direct uploads, you write a method for the handle_UploadData synchronization event. This event accepts one UploadData parameter. See:

The handle_UploadData event is usually called once per synchronization. However, for SQL Anywhere clients that use transaction-level uploads, there can be more than one upload per synchronization, in which case handle_UploadData is called once per transaction.

For more information about dbmlsync transaction-level uploads, see -tu option.

For more information about using the handle_UploadData event to process the upload, including a detailed example, see handle_UploadData connection event.

For general information about writing Java or .NET synchronization scripts, see:

For information about registering connection-level events, see:

Classes for direct uploads

The MobiLink server APIs for Java and .NET provide the following interfaces for handling direct uploads:

Example

See handle_UploadData connection event.


Handling conflicts for direct uploads