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.
Differences Between the Classic
Client and RoleTailored Client
If you are running on the RoleTailored client and do not specify
the uniform naming convention (UNC) path of a file, FILE functions
access files on Microsoft Dynamics NAV Server.
If you are running on the Classic client and do not specify the
UNC path of a file, FILE functions access files on the client.
See Also