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 04-30-2019, 11:36 AM
DataFileError DataFileError is offline
Registered User
 
Join Date: Apr 2019
Posts: 3
Data File Error with sessions import

I am having trouble using the .vbs script to import my .csv data file. I get an error as follows:

Error: Unknown field designation: "session_name
supported fields are as follows:

description,emulation,folder,hostname,port,protocol,session_name,username

for a description of supported fields, please see the comments in the sample script file
Reply With Quote
  #2  
Old 04-30-2019, 11:44 AM
DataFileError DataFileError is offline
Registered User
 
Join Date: Apr 2019
Posts: 3
I get the same error if using python or VB. I have tried rearranging the header fields, and even removing the session_name field (as it's not needed) and non that worked. Each time I receive the same error, depending on which header field option is listed first
Reply With Quote
  #3  
Old 04-30-2019, 12:40 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 937
Quote:
Originally Posted by DataFileError View Post
I am having trouble using the .vbs script to import my .csv data file. I get an error as follows:

Error: Unknown field designation: "session_name
supported fields are as follows:
It's instructive that you have a " mark in the field. e.g. "session_name

The header field line of your .csv should not have any ""s in it at all. If it does, then you need to remove them by editing the .csv file manually using an editor like Notepad.

If you remove the "s from the header line in your CSV file, are you able to get further?

--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Reply With Quote
  #4  
Old 04-30-2019, 01:30 PM
DataFileError DataFileError is offline
Registered User
 
Join Date: Apr 2019
Posts: 3
I removed the "" from the entire file and it worked. Thank you
Reply With Quote
Reply


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 08:45 PM.