file uploads and MM documentation

By Eric Jones

I’m sure by now you’ve all used the cffile tag to upload a file to your server or to read a file already on your server etc.

Chris Cantrell points out a tid bit I’m sure a few of you didn’t realize, especially if you follow the ColdFusion docs to the letter.

This tid bit has to do with uploading and renaming a file all in one step instead of using 2 cffile tags, one to upload and the other to rename / move the file.

The short story is that instead of just specifying the path to upload to you can specify the path and file name.

No Reader comments



Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Instant Website Review

Use Woorank to analyze and optimize your website to improve your website to improve your ranking!

Run a review to see how your site can improve across 70+ metrics!

Get the latest in Front-end, once a week, for free.