RFTransferFile Method

This member of RFFile Object is supported on Windows Mobile, Windows CE, Palm, and DOS.

The RFTransferFile method allows you to transfer files bi-directionally between a network host and an RF device.

VB

bStatus = object.RFTransferFile (pszSourceFile, pszTargetFile, bToDevice)

VC++

HRESULT hr = object->RFTransferFile(LPCTSTR pszSourceName, LPCTSTR pszTargetFile, BOOL bToDevice, BOOL *bStatus);

Return Value

bStatus

The status of the function returned as Boolean True or False values. Use the RFGetLastError method to return the error value.

Parameters

pszSourceFile

The source file to be transferred. If the source file resides on the host, enter the complete path for the file (e.g. “C:\Temp\File.txt). Alternatively, you may also enter a UNC path. If the source file resides on the local RF device, enter only the file name.

pszTargetFile

The target file of the file transfer. If the target file resides on the host, enter the complete path for the file (e.g. “C:\Temp\File.txt). Alternatively, you may also enter a UNC path. If the target file resides on the local RF device, enter only the file name.

bToDevice

If this value is set to True, the source file will be transferred from the host to the RF client. If this value is set to False, the source file will be transferred from the RF Client to the host.

Example

See the CreateBitmap Method of the WaveLinkFactory object.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal