File Data Type
Microsoft Dynamics Nav 2009
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.
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.
Reference
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)
QUERYREPLACE 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)
Community Additions
ADD
Show: