VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   Example: Import Arbitrary Data From File To SecureCRT Sessions (https://forums.vandyke.com/showthread.php?t=10605)

miked 08-02-2012 04:44 PM

Example: Import Arbitrary Data From File To SecureCRT Sessions
 
2 Attachment(s)
This example shows how to create sessions from information in a text file (.csv format by default, but this can be edited to fit the format you have).

Note: This script will only work with SecureCRT version 7.2 and later.

Watch this YouTube video if you're having troubles understanding what this script does, or how to go about using it.

--
.py version last updated: 29 Oct, 2018
.vbs version last updated: 29 Oct, 2018
--

bgagnon 07-01-2020 10:57 AM

Hi all,

Please note that if you get an error when running the script, such as:
Quote:

Error: Unknown field designation: description
Error: Unknown field designation: hostname
The extra characters seen above () are a result of the text file being saved with Unicode encoding. This script is only able to read ANSI file encoding at this time.

Please reopen the source data file in your favorite editor and change the encoding to ANSI and save the file. For backup purposes, you may wish to save this change under a different name.

Once you have your newly saved, ANSI-encoded text file, please attempt to run the script using the new file.


All times are GMT -6. The time now is 08:29 PM.