?
Solved

How to run a script on remote unix server thru VB application and get back the generated files

Posted on 2003-03-13
8
Medium Priority
?
400 Views
Last Modified: 2013-11-13
Hi,
I know this question may have been asked earlier but I can't find the solution to it.
My requirement is: To run a shell script (generates flat file) on a remote unix machine through a vb application and get back the flat file on windows machine.

Please Help
0
Comment
Question by:snatus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 28

Accepted Solution

by:
vinnyd79 earned 100 total points
ID: 8129423
0
 

Assisted Solution

by:SlingBlade
SlingBlade earned 100 total points
ID: 8129465
The easiest way would be to set up a web server on the UNIX machine to run the script and produce the output and then use the InternetExplorer control in VB.

Otherwise, there a lots of examples of using Winsock to create a Telnet client.  You would simply need to modify your program to run a set list of commands rather than wait for user input.

Examples:
http://www.planet-source-code.com/xq/ASP/txtCodeId.8138/lngWId.1/qx/vb/scripts/ShowCode.htm
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_11662438.html

*
0
 

Author Comment

by:snatus
ID: 8129506
Thank You for the links.I will check them.

Snatus
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 8129540
hearing...
0
 

Author Comment

by:snatus
ID: 8129545
Thank You for the links.I will check them.

Snatus
0
 

Expert Comment

by:CleanupPing
ID: 9056364
snatus:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 9692867
Moderator, my recommended disposition is:

    Split points between: vinnyd79 and SlingBlade

DanRollins -- EE database cleanup volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question