Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automate telnet through foxpro
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00830745
Message ID:
00830754
Vues:
20
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform