Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

AddType (Internet Toolkit)

LabVIEW Internet Toolkit 6.0.2 Help
June 2008

NI Part Number:
370014C-01

»View Product Info

The AddType directive adds entries to the server default typing information and generates a particular extension type. This directive overrides any conflicting entries in the TypesConfig file.

Syntax

AddType type/subtype extension

type/subtype is the MIME-like type for the document.

extension is the filename extension to map to this type.

You can use several AddType directives in the configuration file.

Filename

srm.cfg

Default

The default types are located in the types configuration files.

Examples

  • The following directive serves any file ending in .doc as type text/plain:

AddType text/plain doc

  • The following directive serves any file ending in .txt as type text/plain:

AddType text/plain txt


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit