eclecticNancy
Programmer
I need to send a logon script using ASCII,
then send a datafile using ZMODEM,
then send a logout script using ASCII.
When doing this manually, I click on the status bar at the bottom of the PCPlus window to change protocols before sending each file.
I've tried to script this using the following (and have also inserted variations of waitfor and pause commands):
sendfile ASCII logon.txt
sendfile ZMODEM datafile.dat
sendfile ASCII logout.txt
The logon.txt file does get sent ok, but the protocol doesn't change to zmodem so nothing further works.
Thanks for any suggestions...
Nancy
then send a datafile using ZMODEM,
then send a logout script using ASCII.
When doing this manually, I click on the status bar at the bottom of the PCPlus window to change protocols before sending each file.
I've tried to script this using the following (and have also inserted variations of waitfor and pause commands):
sendfile ASCII logon.txt
sendfile ZMODEM datafile.dat
sendfile ASCII logout.txt
The logon.txt file does get sent ok, but the protocol doesn't change to zmodem so nothing further works.
Thanks for any suggestions...
Nancy