Download 24x7 Linux/Unix Remote Automation Server Reference
Transcript
High-Level File Operations RAFileDateTime Description: Reports last modification date and time of a remote file. Syntax: RAFileDateTime file, return Argument Description file A string whose value is the name of a remote file return A datetime variable that receives the returned value Return value: Datetime. Returns the date and time that a file was last modified.. Example: // connect to host and get file modification time Dim file_time, datetime RAConnect "123.45.789.01", 1096, "linuxuser", "valid password" RAFileDateTime "/home/linuxuser/myfile", file_time RADisconnect // display file time in a message box MessageBox file_time 24x7 Remote Automation Server™ for Linux and UNIX - 23 -