Run Automation Script
On Remote Computer
Back to Menu
|
Run OS Process
Job List
|
Logout
JAL Script:
/////////////////////////////////////////////////////// // This sample script demonstrates how to establish // RAS connection and then use it to replicate files // between your Web server directory and a local // directory on your computer. /////////////////////////////////////////////////////// // declare variables Dim( connection, number ) // Establish RAS connection RASDial( "my ISP", "my user name", "my password", connection ) // Synchronizes files on the remote Web server directory // with files on the local computer SyncFTPDir( "LOCAL", "ftp.mycompany.com", "webmaster", "password", & "c:\\webserver\\1999\\documents", & "/1999/documents", & True, False, True, True ) // terminate RAS connection RASHangUp( connection )