![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
markm
Newbie
Joined: March 17 2004 Location: United States Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: how to capture errors using scriptsPosted: March 17 2004 at 6:45am |
|
Hello
We are trying to write a script in pick basic that will connect to our offices via DSL and upload a file and then disconnect. We need to be able capture any errors that occur. For example, if we cannot connect to one of our branches we need to know if that failed. Another example is if the logon was unsuccessful, or the connection dropped during the transfer. We were using the accuterm 2000 programmers guide and saw there are return status numbers for connecting via modem. Will these work for DSL connections? If so, can we capture them and send them back to pick via the initsession.output command. Thank you very much. |
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
Posted: March 19 2004 at 4:45am |
|
Hi -
The modem response codes do not work for network connections, but you can test the Connected property to see if the telnet connection was established. Make sure to un-check the "show comm errors" setting in the Connection tab of the Settings window. Since the login process is scripted, you can tell if it fails (you do not get the expected response). As you suppose, use initsession.output to send the result back to the host. Thanks, Pete |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |