Returns the size of the specified file.
Syntax: GetFileSize (DeviceFile As String) As Int64
GetFileSize will return -1 for folders.
Example:
'Add a RAPIDesktop object named rapi.
Sub App_Start
Form1.Show
rapi.New1
rapi.Connect
End Sub
Sub rapi_Connected
msgbox(rapi.GetFileSize("\My Documents\1.txt"))
End Sub