file

### Index Up << >>

## file

CALL INFORMATION
  Parameters: name type

  Positional parameters in same order.

  Pass attribute hash as last to subroutine: no

  Must pass named parameter interpolate=1 to cause interpolation.

  Invalidates cache: no

  Called Routine:

  ASP/perl tag calls:

          $Tag->file(
              {
               name => VALUE,
               type => VALUE,
              }
          )

       OR

          $Tag->file($name, $type);

DESCRIPTION
  Inserts the contents of the named file. The file should normally be relative to the catalog directory -- file names beginning with / or .. are not allowed if the MiniVend server administrator has set NoAbsolute to `Yes`.

  The optional type parameter will do an appropriate ASCII translation on the file before it is sent.

### Index Up << >>