mpfserver Manual
 
 
 mpf:file | retrieve file attributes
mpf:file

display file attribute(s)

check if file exists

delete existing files

{mpf:file  }
=[myfilepath]
any relative or absolute file path/name
||attrib=[myattrib]
name file name (if it does exist) 
path file name/path (if it does exist) 
size file size [KB] 
modified date last modified [mm/dd/yyyy] 
extension file extension 
width width [pixels] (pictures only) 
height height [pixels] (pictures only) 
||delete
file will be deleted if this parameter is set (cannot be undone)
|| convert=[lowercase|uppercase|upperfirst]
convert file attribute(s)
|| encode=[url|html|html-chars|crypt]
encode file attribute(s) to another format
|| trim=[left|right|both]
remove whitespaces from file attribute(s)
|| convert_section=[lowercase|uppercase|upperfirst]
convert section data (for use with closing token only)
|| parse_section=[yes|no]
parse section data for mpf-tokens (for use with closing token only)
|| encode_section=[url|html|html-chars|crypt]
encode section data to another format (for use with closing token only)
|| trim_section=[left|right|both]
remove whitespaces from section data (for use with closing token only)
|| [opr][condition]
condition may be used to check file name/path
 
 
2004 by master-p-formance.All rights reserved.
 
This manual is generated on the fly using mpfserver and MPFT (mpf transformation).