Forum: Ruby Creating a automated script

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
78947e02afdcaabbda360f9d112bfbe0?d=identicon&s=25 Musdev Musdev (devrubygem)
on 2009-03-04 07:18
I wanted to create a small automated script using Ruby. I just need to
know what classes do I use to create this script.
When running my script I would like for itto do the following

1. Automatically Log user onto another machine via RDP

2. While logged in the session I want the script to automatically create
an iteration of files and folders, rename, change attribute of

3. Log off then log back on another user via RDP again, repeating step

I would just like to know what classes do I use to create this script? I
know the File class could be one.

D1309ef77561e3cdf0ddcab60b244e52?d=identicon&s=25 Mike Stephens (aspirer)
on 2009-03-04 12:24

You may be interested in this book:
134ea397777886d6f0aa992672a50eaa?d=identicon&s=25 Mark Thomas (Guest)
on 2009-03-04 14:01
(Received via mailing list)
RDP is a proprietary Microsoft protocol used for Terminal Services
(i.e. remote GUI). I don't know much about it, but I'm pretty sure
this does not allow you to automate the execution of scripts on remote
machines. You may want to look into Net::SSH.
This topic is locked and can not be replied to.