file uploads and MM documentation

By Eric Jones
We teamed up with SiteGround
To bring you up to 65% off web hosting, plus free access to the entire SitePoint Premium library (worth $99). Get SiteGround + SitePoint Premium Now

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.

The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
We teamed up with SiteGround
To bring you up to 65% off web hosting, plus free access to the entire SitePoint Premium library (worth $99). Get SiteGround + SitePoint Premium Now
Login or Create Account to Comment
Login Create Account