Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attribute

Description

Default Value

ftStyle

Inline style attributes.

(blank)

ftDestination

Location of file; relative to the default file root.

(blank)

ftSecure

Whether or not the file storage should use the secure or open file path for storage

false

ftRenderType

Either "html" or "flash". The flash uploader includes a progress indicator and client side checking of file type and file size. The html rendertype uses a standard html file input.

flash

ftFacade

FLASH ONLY. The path to the file upload handler from the application webroot.

/webtop/facade/fileupload/upload.cfm

ftFileTypes

FLASH ONLY. List of extensions the property that can be accepted in the form ".ext,.abc".

*.*

ftFileDescription

FLASH ONLY. Description of file types that appears in browse dialog.

File Types

ftMaxSize

FLASH ONLY. Maximum file size in bytes.

-1 (Any)

ftOnComplete

FLASH ONLY. ActionScript code to run once an upload is complete. To run JS code on the containing page use getURL('javascript:...')

(blank)

File Paths

File formtool refers to application.path.secureFilePath and application.path.defaultFilePath for the absolute file paths to store uploaded files. You can change these values in your project's ./config/_serverSpecificVars.cfm

...

Code Block
<cfproperty
  ftSeq="25"
   ftfieldset="Cover Page" 
  ftWizardStep="Overview" 
  name="pdfCoverPage"
   type="string"
   hint="PDF cover page to merge."
   required="no"
   default=""
   ftlabel="PDF Cover Page"
   fttype="file" 
  ftDestination="/dmproposal/pdfcoverpage" />