File Data Type in Dynamics NAV

The File data type gives access to files. Files can be opened in text or binary mode. For more information, see TEXTMODE Function (File).

You can read from or write to a file by creating input and output streams, respectively. To do so, use the CREATEINSTREAM Function (File) and CREATEOUTSTREAM Function (File). For more information, see InStream and OutStream Data Types.

See Also

CLOSE Function (File)
COPY Function (File)
CREATE Function (File)
CREATEINSTREAM Function (File)
CREATEOUTSTREAM Function (File)
CREATETEMPFILE Function (File)
DOWNLOAD Function (File)
DOWNLOADFROMSTREAM Function (File)
ERASE Function (File)
EXISTS Function (File)
GETSTAMP Function (File)
LEN Function (File)
NAME Function (File)
OPEN Function (File)
POS Function (File)
READ Function (File)
RENAME Function (File)
SEEK Function (File)
SETSTAMP Function (File)
TEXTMODE Function (File)
TRUNC Function (File)
UPLOAD Function (File)
UPLOADINTOSTREAM Function (File)
WRITE Function (File)
WRITEMODE Function (File)