File.exists() (Method)

A method that returns a flag to indicate whether the file exists or not.

Availability:

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

This method returns the Boolean true value if the file already exists within the file system and a Boolean false value if it does not.