Small company logo:
   History
 
Advertising banner:
 
 ServerFile.Read
Home • Help • Customization Tools • FCAS • Language Reference • ServerFile.Read
 
Purpose
Attempts a binary read of bytes from a file on the FirstClass server.
The read data is stored in the Data attribute of the file.
Syntax
ServerFile.Read (NumBytes)


NumBytes
If the end of file is reached before NumBytes bytes are read, the Read method stores the maximum number of bytes.

Example
ServerFile.Read(100)
Print ServerFile.Data