Awrem32 functions
The following table describes the Awrem32 functions, including the parameters
and return values for handling connections between a host and remote computer:
Description
Parameter or
return value
Method
Creates the connection to the host
computer
The parameter is the fully qualified .chf
file name that contains information
about the host computer
The return value executes the command
Parameter = Name
as string
Return value =
Boolean
boolean awConnect(BSTR
FileName);
Disconnects the host computer
After calling this function, the calling
program must delete the object (C++ -
delete IAwrem32X*, VB – set
ObjectName = Nothing;)
Return value =
Boolean
boolean awDisconnect();
Copies a file from the host computer to
the remote computer. The parameters
can contain wildcard characters
The parameter contains the fully
qualified path and file name to be copied
from the host computer. The HostFile
and RemoteFile strings do not have to
be identical
Parameter =
HostFile as string
boolean
FileXferFromHost(BSTR
HostFile);
Copies a file from the host computer to
the remote computer. The parameters
can contain wildcard characters
The parameter contains the fully
qualified destination path and file name.
The HostFile and RemoteFile strings do
not have to be identical.
Parameter =
RemoteFile as
string
boolean
FileXferFromHost(BSTR
RemoteFile);
TRUE if command executed
Return value =
Boolean
boolean FileXferFromHost
85
Visual C++ object definitions
Awrem32 functions