To handle direct uploads:
Register a Java or .NET method for the handle_UploadData connection event. See handle_UploadData connection event.
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 dbmlsync option.
For general information about writing Java or .NET synchronization scripts, see:
For information about registering connection-level events, see:
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|