[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 407
  • Last Modified:

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

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
snatus
Asked:
snatus
2 Solutions
 
SlingBladeCommented:
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
 
snatusAuthor Commented:
Thank You for the links.I will check them.

Snatus
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Richie_SimonettiIT OperationsCommented:
hearing...
0
 
snatusAuthor Commented:
Thank You for the links.I will check them.

Snatus
0
 
CleanupPingCommented:
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
 
DanRollinsCommented:
Moderator, my recommended disposition is:

    Split points between: vinnyd79 and SlingBlade

DanRollins -- EE database cleanup volunteer
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now