Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-21-2003, 04:18 PM
tim.bertalot tim.bertalot is online now
Registered User
 
Join Date: 01-01-1970
Posts: 8
Question Capture output of commands run in telnet

I am doing some simple tests with the builtin telnet action. At this point all I want to be able to do is run an ls command on a remote unix box and have the output logged. The problem is that even when logging is turned to all, you get no output from the command(s) being run. Is there something I am missing?
Reply With Quote
  #2  
Old 11-21-2003, 06:38 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
You should get log output from the Telnet action if you choose 'All', but the log output that is generated is diagnostic infromation, not the response text from the server (you can get the response text too by choosing 'All + hex dump' but it will be formatted as a hex dump). If you're not getting any output, make sure you have the latest version of VBP (an update some time back fixed a logging issue on the network actions).

If you really want to get back the formatted output from something like ls, you would need to execute the command on the server and redirect the command's output to a file, then retrieve the file using FTP (see http://www.kinook.com/Forum/showthread.php?threadid=210) and then log it to the VBP output using a Run Program command of

%DOSCMD% type "drive+path+filename"
Reply With Quote
Reply

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 Off
HTML code is Off



All times are GMT -5. The time now is 08:00 PM.


Copyright © 1999-2023 Kinook Software, Inc.