Web
Article

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.

Meet the author

No Reader comments

Recommended

Learn Coding Online
Learn Web Development

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

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