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.

No Reader comments

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

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