foundeo / cfdocs

Repository for the cfdocs.org site.

Home Page:https://cfdocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileUpload example code error

cfcoder opened this issue · comments

Just wanted to point out that the snippet of example code for FileUpload function has a small error.
https://cfdocs.org/fileupload

It refers to cffile.serverFileExt but it should actually be uploadedFile.serverFileExt since that is the variable name where the results of the fileUpload went.

Hi @cfcoder & Foundeo
I've changed the variable name & tested in my local test page. It's working fine. Please check it and confirm. Thanks.

Fixed, thanks @Dharcf

@Dharcf Thank you