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

Handling conflicts for direct uploads Next Page

Setting direct downloads


To create direct downloads, use the DBConnectionContext getDownloadData method for Java or GetDownloadData method for .NET to obtain a DownloadData instance. See:

You can create the entire direct download in the handle_DownloadData synchronization event. Alternatively, you can use other synchronization events to set direct download operations. However, you must create a handle_DownloadData script, even if its method does nothing. If you process the direct download in an event other than handle_DownloadData, the event cannot be before begin_synchronization and cannot be after end_download.

For information about the order of events, see MobiLink complete event model.

For more information about creating the download, including a detailed example, see handle_DownloadData connection event.

Classes for direct downloads

The MobiLink server APIs for Java and .NET provide the following classes for creating direct downloads: