Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automate telnet through foxpro
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00830745
Message ID:
00830754
Views:
17
>I should clarify this.
>
>We use vpro5 to run a script on an NT server. We just moved some of our info to a unix box and there IS NO drive mapping to this box. We can get to the unix box using telnet, but we would like a way to automate telnet from within foxpro code unattended. Is this possible? How????
>
>Thank you again.

The first thing that springs to mind is if you do not have a mapped drive, how about a UNC?

If Telnet really is the only way to connect, then you can (to an extent) automate the UNIX login (Type telnet /? at the command prompt for details of command line options). After opening a Telnet window I guess you could try sending Key strokes to the window using Windows Script Host (WSH) or the Win32 SendInput function.
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform