View Single Post
  #5  
Old 03-16-2006, 11:44 AM
daveg92656 daveg92656 is online now
Registered User
 
Join Date: 03-09-2006
Location: Irvine, CA.
Posts: 4
Hello Kinook admin,

Thanks for answering my questions and getting back to me in a prompt manner !!

However, I saw that explanation and that is what I don't understand.

What is "If the response string to match is found anywhere in the server response..."??

what does that mean in english? I thought I was just sending commands to telnet, not trying to match strings??
Could you please re-phrase that statement for me?

What do I have to match to be able to send commands to the Telnet prompt?

From the explanation given, I try to match what the command prompt will show me? which when I first logon, is "C:\Documents and Settings\Username>". Then I send a command, then again, try to match what sting will be returned? I tried that using your suggestion from the last reply and still nothing worked, I was instantly disconnected.

Maybe you can shed a little light on my above question or just briefly explain how telnet works through VBP? I have done plenty of command line work, and software development, but I'm just new to this build tool.

Or how about briefly explaining what these example scripts are doing?

%KUSER%@
dir www_logs/www.2004*
!no such file or directory
~/test.sh
!Command not found
dir
%KUSER%@
____________________

%KUSER%@
rm TransformLog.xslt
%KUSER%@

Sorry to be a pain, but there is no documentation or further details on any of this.

I tried my script with the piece you provided in your response, but the same "quick disconnect" happened:

C:\Documents and Settings\username>
dir
C:\Documents and Settings\username>

Any suggestions or further explanation?

Thank you !! Dave.
Reply With Quote