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 - Client Administration » MobiLink Client Utilities

ActiveSync provider installation utility [mlasinst] Next Page

MobiLink file transfer utility [mlfiletransfer]


Downloads a file through MobiLink.

Syntax

mlfiletransfer [ options ] [ transfer-file ]

Option

Description

-ap param1, ...

MobiLink authentication parameters. See Authentication parameters.

-dp path

The local path where the downloaded file is to be stored. By default, the downloaded file is stored in the root directory on Windows CE, and in the current directory on other platforms.

-df filename

The local name of the downloaded file. Use this option if you want to have a different name for the file on the client than is used on the server. By default, the server name is used.

-f

Forces a download, even the local file is up to date. Any previous partial download is discarded.

-g

Shows download progress.

-p password

The password for the MobiLink user name.

-r

Enables download resumption. When set, the utility will resume a partial previous download that was interrupted because of a communication error or because it was cancelled by the user. When the file on the server is newer than the partial file, the partial file is discarded. The -f option overrides this option.

-u username

MobiLink user name. This option is required.

-v versionThe script version. This option is required.

-x protocol(options)

The protocol can be one of tcpip, tls, http, or https.This option is required.

The protocol-options you can use depend on the protocol. For a list of options for each protocol, see MobiLink client network protocol options.

transfer-file

The file to be transferred as named on the server. Do not include a path. The location of the file is determined by the mlsrv10 -ftr option (which must be used when you start the MobiLink server). MobiLink looks for the file in the username subdirectory of the -ftr directory; if it doesn't find it there, it looks in the -ftr directory. If the file is not in either place, MobiLink generates an error.

See -ftr option.

Remarks

This utility is useful for downloading files when you first create a remote database, when you need to upgrade software on your remote device, and so on.

To use this utility, you must start the MobiLink server with the -ftr option. The -ftr option creates a root directory for the file to be transferred, and creates a subdirectory for every registered MobiLink user.

UltraLite users can also use the MLFileTransfer method in the UltraLite runtime. See Using MobiLink file transfers.

See also