Managing Text and Binary Files


Operating System files are either of type T or BIN.

Type T (text file) is used for files which contain text which can be read with a simple text editor. When using FTP, these would be transferred as ASCII.

Type BIN (binary file) is used for files which contain binary data. The data is not meaningful if the file is opened with a simple text editor. With FTP, these would be transferred in binary mode.

VC/m gives more accurate information if it knows whether a file extension is of type T or BIN. The component types of file types can be specified by setting the following global:

set ^%vcvc("fileTypes",component_type,extension)=""

For example:

set ^%vcvc("fileTypes","T","html")=""

set ^%vcvc("fileTypes","BIN","pdf")=""