Are any errors being thrown or does the image file just not
appear?
If there are error messages, have you checked the <input
type="file"...>
tag? Filters can be assigned in the tag as to what type of
files can or
can not be uploaded there as well.
umuayo wrote:
> This is the value of the file coming from
form.thumbnailpic
> Image to load "mart.jpg"
> <!--- Directory --->
> <cfset postfile2 ="F:\site\sponsors\1\Images\ ">
> The image is not being Uploaded to the Directory. See
code below
>
> <cftry>
> <cftry>
> <cffile action="UPLOAD"
> filefield="thumbnailpic"
> destination="#postfile2#"
> accept="image/*"
> nameconflict="Overwrite">
> <!--- Catch error.--->
> <cfcatch type="Any">
> <cfset erroroccured = #erroroccured# &","&
"Thumbnailpic not saved">
> </cfcatch>
> </cftry>"
>