RFTransferFile Method

This member of Class WaveLinkFile is supported on Windows Mobile, Windows CE, Palm, and DOS.

The RFTransferFile Method transfers files bi-directionally between a network host and device.

Syntax

public void RFTransferFile(String sourceFile, String targetFile, boolean toDevice)
throws WaveLinkError,
IllegalArgumentException

Parameters

sourceFile

The source file name to be transferred

targetFile

The name of the target file

toDevice

A boolean true or false value that determines which direction the file is transferred

Throws

WaveLinkError

IllegalArgumentException

Remarks

If the toDevice value is true, the source file transfers from the host to the RF client. If this value is set to false, the source file transfers from the RF client to the host.

If the file resides on the host, enter the complete path for the file (for example, “C:\Temp\File.txt) or enter a UNC path. If the file resides on the local device, enter only the file name.

Example

WaveLinkFile fileIface;

fileIface.RFTransferFile("C:\temp\logo.bmp", "logo.bmp", true);

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal