At that stage, the server has already received the uploaded file. 
Action="upload" just moves and/or renames the file.

However, I still do not think it will work as you expect. #form.image# only 
contains a temporary file path at that point. The original/client file name is 
not available until after the cffile call completes.

>         accept     
>   =   "image/jpg, image/pjpg,
> image/jpeg, image/pjpeg"

Btw: Mime types are "spoofable". Do you have other security measures in place? 
http://www.petefreitag.com/item

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346842
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to