Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PcAnywhere Scripts

Status
Not open for further replies.

Karto

IS-IT--Management
Feb 6, 2003
10
0
0
GB
Hi,

Have a bit of a strange problem and hopefully someone else has hit this and knows how to fix it..

We have a client who requires us to send them files and also to collect files from ourseleves. This is done via a pcanywhere dialup and automated script:

*****
@ECHO OFF
@cls
@echo User1234
@echo File Transfer In Progress...Please Wait !

@REM GRAB ACCEPTANCES FROM User1234
@AWSEND c:\syncfiles\outgoing\file1 TO HOST C:\syncfiles\incoming\file1 /O:A

@REM SEND OUR REQUESTS
@AWSEND c:\syncfiles\outgoing\file2 TO REMOTE c:\syncfiles\outgoing\file2
/O:A

@REM GRAB PAYOUTS FROM User1234
@AWSEND c:\syncfiles\outgoing\file3 TO HOST C:\syncfiles\incoming\file3 /O:A

@echo File Transfer Complete, Logging Off...Bye...
@awlogoff /w
@dir c:\syncfiles\incoming > c:\syncfiles\incoming\xtime
***

We are currently using PCAnywhere ver 9.2, the client is using PCanywhere ver 5.0 for DOS. We are dialing into the clients side where this script resides. (The client is NOT willing to upgrade their version of pcanywhere)

*) We are able to send files to the client.
*) When the client sends files to us it fails and reboots his machine (The Host).
*) All permissions on the directories (our side REMOTE) are set to EVERYONE FULL CONTROL.
*) If we get them to remove the line sending us the files then the script runs and terminates correctly (not rebooting the host machine).

Any help most appreciated.

Russ.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top