boolean TransferApp(BSTR sSourceDir, BSTR sSourceFile, BSTR sTargetFile)
Function TransferApp(sSourceDir As String, sSourceFile As String, sTargetFile As String) As Boolean
Sends an application file to the Client RAM memory.
Return value
True=successful, False=error, no file, memory full, RF link lost, etc.
Parameters
sSourceDir
The name of the folder (directory) in the PC that contains
the file to be sent to the Client.
sSourceFile
The name on the PC of the file to be sent to the Client.
sTargetFile
The target name of the file on the Client.
Remarks
The source file must exist. If the destination file exists, the content is
lost and replaced by the new file.
The target file is always stored in the temporary application RAM drive folder
(D:\USRAPP) before being saved to the application FLASH drive folder (E:\USRAPP).
The save and run processes are performed at exit time.
The temporary application RAM drive (D:) has a limited size (around 150 Kb), and
should be used for collected data.
The application FLASH drive (E:) has an ample size (around 700 Kb).
(DOS legacy)
Example
See also RFUSRAPP, SetExitApp, ExitToApp