When the remote logs in to the host modem (pca 10.5, windows 2000) I want to carry out the following actions:
1. Transfer a file from remote to host
2. Run a batch file containing some (DOS) programs.
3. Transfer a file from host to remote.
I tried the following as a starter to be executed after connection.
Dim oTestApp, strSource, strDestination
Set oTestApp = CreateObject("AWREM32.APPLICATION")
'Transfer to Host
strSource = "C:\mll\wenosh\trout\44160401.024"
strDestination = "C:\temp"
bResult = oTestApp.FileXferToHost(strDestination, strSource)
if bResult = True then
MsgBox "Transfer TO host successful"
elseif bResult = False then
MsgBox "Transfer TO host not successful"
end if
The file transfer doesn't happen - "Transfer to host not successful"
Any suggestions?
Thanks
Rambleon
1. Transfer a file from remote to host
2. Run a batch file containing some (DOS) programs.
3. Transfer a file from host to remote.
I tried the following as a starter to be executed after connection.
Dim oTestApp, strSource, strDestination
Set oTestApp = CreateObject("AWREM32.APPLICATION")
'Transfer to Host
strSource = "C:\mll\wenosh\trout\44160401.024"
strDestination = "C:\temp"
bResult = oTestApp.FileXferToHost(strDestination, strSource)
if bResult = True then
MsgBox "Transfer TO host successful"
elseif bResult = False then
MsgBox "Transfer TO host not successful"
end if
The file transfer doesn't happen - "Transfer to host not successful"
Any suggestions?
Thanks
Rambleon