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.

Deltanji 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,UPPERCASE_extension)=1 for a case-insensitive match on all platforms

set ^%vcvc("fileTypes",component_type,extension)=0 for a case-sensitive match on case-sensitive filesystems, i.e. UNIX, Linux

For example:

set ^%vcvc("fileTypes","T","HTML")=1

set ^%vcvc("fileTypes","BIN","PDF")=1