Brattam
IS-IT--Management
- Nov 19, 2002
- 3
I have set up a unix box with several USRobotics 56K ISA modems connected to it and a raw telnet connection. In order to access this "Modem Pool", I simply telnet to that box's ip address and I am then immediately connected to a modem. So, I wrote a Procomm script that telnets to the modem pool and then types modem commands to dial up to a remote computer (also running UNIX). Here is an example:
set modem connection 5
connectmanual TELNET 123.123.123.123
waitfor "found a modem" 10
transmit "ATDT15125551212^M"
This part works perfectly. Once connected, I try to pull a file down using zmodem:
sz -y -e -b file1.txt
or just
sz file1.txt
This brings up the zmodem box, but it fails every time. I suspect that Procomm is trying to pull the file from my modem pool rather than having it pulled from the box we are dialed in to, but I'm not sure and I don't know how to fix it. I did the same thing using SecureCRT and it was able to download the file with zmodem. Does anyone have any ideas why this isn't working for me?
Thank you,
Matt
set modem connection 5
connectmanual TELNET 123.123.123.123
waitfor "found a modem" 10
transmit "ATDT15125551212^M"
This part works perfectly. Once connected, I try to pull a file down using zmodem:
sz -y -e -b file1.txt
or just
sz file1.txt
This brings up the zmodem box, but it fails every time. I suspect that Procomm is trying to pull the file from my modem pool rather than having it pulled from the box we are dialed in to, but I'm not sure and I don't know how to fix it. I did the same thing using SecureCRT and it was able to download the file with zmodem. Does anyone have any ideas why this isn't working for me?
Thank you,
Matt