:EndOfFile()


Class

     aprFTP()

 

Syntax

     :EndOfFile( [hSession] ) -> lEOF

 

Parameters

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

If the end-of-file has been reached, the function returns TRUE. If the client handle (hSession) is invalid, or the end-of-file has not been reached, the function returns FALSE.

 

Description

 The :EndOfFile() method is used to determine if the end-of-file has been reached while reading the contents of a remote file.

 

See Also

:CloseFile(), :OpenFile(), :Read()