HOME LINKS SAL PUBLIC SOFTWARE SEARCH MADE UP

SAGATOR


file_type()
  Realscanner, which scans type of a file.
  
  A scanner to chcek content of a file for a special type (like zip, ...).
  
  Usage: file_type({'type': 'vir', ...})
  
  Where 'type' is a name of type returned by filetype.* function
        'vir' is a vir name returned, if file type is matched
  
  Example: # scan for executables (COM, EXE, PIF and similiar types)
           parsemail(file_type({'exe': 'MS Executable',
                                'elf': 'Linux Executable'}))
  
  Obsolete since 1.1.1, use file_magic() instead.