Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-13-2020, 11:30 PM
Ulua Ulua is offline
Registered User
 
Join Date: May 2019
Posts: 8
Exclamation Error running MultiSessionSend.py

SecureCRT version 7.1.1 x64 build 264

Save both files in my Windows 10: MultiSessionSend.py and SessionList.txt in my C:\Users\xxxxxx drive.

Placed 2 IP addresses in the SessionList.txt
example:
111.222.333.444
011.022.033.044

Error Received:
111.222.333.444 was not found in the session database.

Last edited by Ulua; 08-13-2020 at 11:33 PM. Reason: added SecureCRT version
Reply With Quote
  #2  
Old 08-13-2020, 11:41 PM
Ulua Ulua is offline
Registered User
 
Join Date: May 2019
Posts: 8
Run the scripts by doing the following:

Scripts > Run > MultiSessionSend.py then click Run
Reply With Quote
  #3  
Old 08-14-2020, 07:38 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,397
Hi Ulua,

To be clear, those need to be existing saved sessions in SecureCRT. In other words, they should be available in the Connect dialog. Are they?

If not, what are you trying to accomplish?

As a note, v7.3.x was the first version with support for Windows 10.

If you want to make ad hoc connections to a list of IP addresses/hostnames, see this example. However, you may be hindered by objects, methods or properties used in the script that were not available in your old version.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #4  
Old 08-14-2020, 08:43 AM
Ulua Ulua is offline
Registered User
 
Join Date: May 2019
Posts: 8
To be clear, those need to be existing saved sessions in SecureCRT. In other words, they should be available in the Connect dialog. Are they?
If not, what are you trying to accomplish?
-No they are not saved sessions. What I was trying to do is to login to multiple Nokia nodes, connect and find their router version. I would like to have a text file output this would be great. And logout.

Thank you,
Ulua

Last edited by Ulua; 08-14-2020 at 09:50 AM.
Reply With Quote
Reply

Tags
session database


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:30 PM.