file uploads and MM documentation

Tweet

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.

Get your free chapter of Level Up Your Web Apps with Go

Get a free chapter of Level Up Your Web Apps with Go, plus updates and exclusive offers from SitePoint.

No Reader comments