file
file
Field component to liase with all File types
Basic<cfproperty name="someFile" type="string" default="" hint="The file to process" ftSeq="1" ftFieldset="General" ftLabel="File" ftType="file" ftDestination="/someDirectory" />Maximum file upload of 1mb
<cfproperty name="someFile" type="string" default="" hint="The file to process" ftSeq="1" ftFieldset="General" ftLabel="File" ftType="file" ftDestination="/someDirectory" ftMaxSize="1048576" />Flash upload
<cfproperty name="someFile" type="string" default="" hint="The file to process" ftSeq="2" ftFieldset="General" ftLabel="File" ftType="file" ftDestination="/someDirectory" ftRenderType="flash" />Secure file upload
<cfproperty name="someFile" type="string" default="" hint="The file to process" ftSeq="4" ftFieldset="General" ftLabel="File" ftType="file" ftDestination="/someDirectory" ftSecure="true" />PDF only (HTML)
<cfproperty name="someFile" type="string" default="" hint="The file to process" ftSeq="5" ftFieldset="General" ftLabel="File" ftType="file" ftDestination="/someDirectory" ftAllowedFileExtensions="*.pdf" />PDF only (jQuery)
<cfproperty name="someFile" type="string" default="" hint="The file to process" ftSeq="6" ftFieldset="General" ftLabel="File" ftType="file" ftDestination="/someDirectory" ftRenderType="jquery" ftFileTypes="*.pdf" />
Attributes
Name | Required | Default | Options | Description |
---|---|---|---|---|
ftStyle | No | Custom inline styles | ||
ftRenderType | No | html | This formtool offers a number of ways to render the input. (html, flash, jquery) | |
ftAllowedFileExtensions | No | pdf,doc,ppt,xls,docx,pptx,xlsx,jpg,jpeg,png,gif,zip,rar,flv,swf,mpg,mpe,mpeg,m1s,mpa,mp2,m2a,mp2v,m2v,m2s,mov,qt,asf,asx,wmv,wma,wmx,rm,ra,ram,rmvb,mp3,mp4,3gp,ogm,mkv,avi | Used when ftRenderType is set to HTML, extentions allowed to be uploaded. | |
ftFacade | No | #chr(35)#application.url.webtop#chr(35)#/facade/fileupload/upload.cfm | location of uploader facade. | |
ftFileTypes | No | *.* | Used when ftRenderType is set to flash (default *.*) or jquery (default *.jpg;*.JPG;*.jpeg;*.JPEG;), extentions allowed to be uploaded. | |
ftFileDescription | No | File Types | Used when ftRenderType is set to HTML, text display above upload control. | |
ftMaxSize | No | 0 | Maximum filesize upload in bytes. | |
ftOnComplete | No | Used when ftRenderType is set to HTML, javascript to execute after file upload. | ||
ftStartMessage | No | Upload file here. | Used when ftRenderType is set to jQuery. Message to display at start of upload. | |
ftErrorSizeMessage | No | Maximum filesize is #chr(35)#arguments.stMetadata.ftMaxSize#chr(35)# kb | Used when ftRenderType is set to jQuery. Error to display when max filesize error flagged. | |
ftCompleteMessage | No | File upload complete | Used when ftRenderType is set to jQuery. Message to display at end of upload. | |
ftAfterUploadJSScript | No | Used when ftRenderType is set to jQuery. Javascript to execute after upload compeltes. | ||
ftSecure | No | false | Store files securely outside of public webspace. | |
ftDestination | No | Destination of file store relative of secure/public locations. |