Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute remote command in Unix
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Oracle
Application:
Desktop
Miscellaneous
Thread ID:
01382646
Message ID:
01382716
Views:
43
This message has been marked as a message which has helped to the initial question of the thread.
See if you can use free WinScp http://winscp.net/eng/docs/scripting

>
>I need to execute a remote command in Unix from a VFP application. It must be unattendent execution.
>I first thought to run REXEC command, but it seems to ALWAYS ask for the user password. I didn't find the way to send the user password by parameter. The syntax is REXEC host -l username command.
>
>I tried to do it with a batch file but I don't know how to simulate the user input when it asks for the password. (Tried Key-fake and Stuffit).
>
>Maybe there's some VFP Code that uses windows APIs to do this task.... ?
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform