Whatever message this page gives is out now! Go check it out!
<cffile |
Attribute | Req/Opt | Default | Description |
action | Required | Type of file manipulation that the tag performs. | |
file | Required | Pathname of a binary fine to read. If not an absolute path (starting with a drive letter and a colon, or a forward or backward slash), it is relative to the ColdFusion temporary directory, which is returned by the GetTempDirectory function. | |
variable | Required | Name of variable to contain contents of binary file. |
<!--- Convert a JPG image to a binary object. ---> |
<cffile action = "readBinary" file = "C:\inetpub\wwwroot\cfdocs\getting_started\photos\somewhere.jpg" variable = "aBinaryObj"> |