Issue

Macromedia ColdFusion MX 6.1 and MX 7 allowed a file specification in the destination field forcffile action="upload". The MX 6.1 documentation forcffile mentioned this explicitly with an example and although the MX 7 documentation removed the example, the behavior remained.

With ColdFusion MX 7.0.1, a directory is created with the same name as the file specification name in thedestination field, rather than uploading the file, as in the past.

Note: Code that specifies a directory in thedestination field for cffile action="upload" will not have this problem.

Solution

To restore the old behavior, Macromedia has created a hot fix for cffile action="upload" when there is a file specification in the destination field.

Installation instructions

Both ColdFusion MX 7 cumulative and individual hot fixes are installed in the ColdFusion MX Administrator. The installation process is the same for all platforms and installation choices.

  1. Download the hot fix (30K).

  2. Open the ColdFusion MX Administrator and select the System Information page. Next to the Update File field, either:
    • Type in the file path and click Submit.



      OR



    • Select the Browse button and browse to the downloaded file. Select the file and click Submit.
  3. Restart ColdFusion MX.

The ColdFusion MX 7 hot fix JAR file does not need to be retained after installing it with the ColdFusion Administrator. The file has been copied into the correct location.

The ColdFusion MX 7 hot fix JAR file will appear as a new entry in the System Information list.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy