What I am trying to achieve is:
I have to create a Remote object which connects to a host in Antarticia, delete and rename files on that host then transfer files back to another host in New Zealand.
(at present I am using a direct connection, around my own network to try and achieve this before trying to connect by cable modem)
I am using pcAnywhere 10.5 and in this version the scripting has been removed. I have created a VB application (to work with pcAnywhere's automation server) which connects to my Host (fine so far), I can transfer the files no problem as I can use the AWREM32 FileTransferFromHost(HostFile,RemoteFile) function to do this. My problem is deleting and renaming files on the Host. What object do I use to do this?
Do I use the RemoteDataManager DeleteObject(Name,Password)object or do I have to get hold of the HostDataManager DeleteObject(Name,Password) object to do this? If so HOW?
There doesn't appear to be anything in the AWREM32 functions that can assist in this.
I have tried several different methods but without success.
Can anyone help? Please. Thanks in anticipation
Cheers
C
I have to create a Remote object which connects to a host in Antarticia, delete and rename files on that host then transfer files back to another host in New Zealand.
(at present I am using a direct connection, around my own network to try and achieve this before trying to connect by cable modem)
I am using pcAnywhere 10.5 and in this version the scripting has been removed. I have created a VB application (to work with pcAnywhere's automation server) which connects to my Host (fine so far), I can transfer the files no problem as I can use the AWREM32 FileTransferFromHost(HostFile,RemoteFile) function to do this. My problem is deleting and renaming files on the Host. What object do I use to do this?
Do I use the RemoteDataManager DeleteObject(Name,Password)object or do I have to get hold of the HostDataManager DeleteObject(Name,Password) object to do this? If so HOW?
There doesn't appear to be anything in the AWREM32 functions that can assist in this.
I have tried several different methods but without success.
Can anyone help? Please. Thanks in anticipation
Cheers
C