Yes, I have seen this a bunch. What fixed it for me was a specific hot
fix (sorry, I don't remember the exact one right now). I had to apply the
fix and restart all CF services. These machines I had problems with were
on windows, and some were 64 bit and some were not. I also did some stuff
in code to try and fix it before I applied the hotfixes. Not sure if it
helps or not, but for example, let's say you wanted to upload an image and
resize it, etc:
<cffile action="upload"
destination="#request.images#/customers/#session.customersId#/#form.strTmpStorage#"
filefield="form.upload_file" nameconflict="overwrite">
<!--- Call the image load function so image gets dumped into memory for
processing --->
<cfset request.image_file =
"#request.images#/customers/#session.customersId#/#form.strTmpStorage#">
<cfset resulter = form.strTmpStorage>
<cfset temper = #FindNoCase(".", resulter)#>
<cfset resulter = #RemoveChars(resulter, temper, 4)#>
<!--- Create thumbnail, note this does not resize the image in memory,
just the image that is written to disk. --->
<cfimage name="mainImage" action="read" source="#request.image_file#">
<cfset imageScaleToFit(mainImage, 320, 320)>
<cfimage action="write" source="#mainImage#"
destination="#request.images#/customers/#session.customersId#/thumb-#form.strTmpStorage#"
overwrite="true">
<cfset mainImage = "">
Notice the last line there - the part where I set the mainImage variable
to nothing. I have no idea if this helps or not, but between that and the
hotfix, my image uploading seems to work fine.
> Has anyone else had issues deleting files in CF8 even after installing the
> hotfixes?
>
> We have an instance of CF8 64-bit with hotfixes. We are using some
> upload/resize code that we've used successfully on other servers with no
> issues. However, we can't seem to delete uploaded files with no real
> discernible pattern or rhyme or reason. Only the error "ColdFusion could
> not delete the file <somefilehere> for an unknown reason". We've worked
> around it for now but are left with what will potentially be a large issue
> for this client and others in that they upload large amounts of files
> daily.
>
> Does anyone have an answer for this?
>
> [cid:[email protected]]
> ___________________________________________________________________________________________
>
> Troy Jones | Director of Technical Services | Dynapp Inc |
> 1-800-830-5192 ext. 603 | dynapp.com<http://www.dynapp.com/> |
> facebook.com/dynapp<http://www.facebook.com/dynapp>
>
>
>
>
> -------------------------------------------------------------
>
> To unsubscribe from this list, manage your profile @
>
> http://www.acfug.org?fa=login.edituserform
>
>
>
> For more info, see http://www.acfug.org/mailinglists
>
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
>
> List hosted by http://www.fusionlink.com
>
> -------------------------------------------------------------
>
>
>
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------