• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

CFFILE

CFFILE

<cffile action = "upload" 
         fileField = "formfield" 
         destination = "full_path_name" 
         nameConflict = "behavior" 
         accept = "mime_type/file_type" 
         mode = "permission" 
         attributes = "file_attribute_or_list"> 

<cffile action = "move/rename/copy/delete" 
         source = "full_path_name" 
         destination = "full_path_name" 
         mode = "mode" 
         attributes = "file_attributes_list" 
         charset = "charset_option"> 

<cffile action = "read/readBinary" 
         file = "full_path_name" 
         variable = "var_name" 
         encoding = "encoding_option" 
         charset = "charset_option"> 

<cffile action = "write/append" 
         file = "full_path_name" 
         output = "content" 
         mode = "permission" 
         addNewLine = "Yes" or "No" 
         attributes = "file_attributes_list" 
         encoding = "encoding_option" 
         charset = "charset_option" > 

					  

Description

Used to work with files on the server on which ColdFusion is installed. The action performed depends on the action attribute. For this tag to work, it must be enabled in the ColdFusion Administrator.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint