File.getPosition() (Method)

Returns the current position in the file where the next read or write is to take place.

Availability:

JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Number primitive
JavaScript syntax:NESmyFile.getPosition()

The position of the file pointer within the file is returned relative to the beginning of the file. You can then use this value with the setPosition() method.

See also:File.setPosition()