File() (Constructor)

A constructor for creating new instances of the file object in an NES server.

Availability:

JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:File object
JavaScript syntax:NESnew File(aFileName);
Argument list:aFileNameA file path and name that is valid within the local file system

This constructor is used for creating new File objects, like this:

myFileObject = new File("/some/path/to/a/folder/filename.txt");