Skip to main content
Inspiring
December 6, 2008
Answered

Multiple file upload with Flex and ColdFusion Problem

  • December 6, 2008
  • 1 reply
  • 650 views
Hi all,

I'm trying to resize some images after upload using the "Multiple file
upload with Flex and ColdFusion" at

http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html

Has anybody actually got a script that resizes images sucessfully
after uploading images with this method?

The reason I ask is I just cant get it to work properly, I've tried
everything I can think of and ended up with the code below. Which
resizes the images but does not remove the original file. The error
that gets dumped is:

"ColdFusion could not delete the file C:\ColdFusion8\wwwroot
\MultiFileUpload\uploadedfiles\0040.jpg for an
unknown reason."

Which doesnt really help. So I try and delete the original files
manually but windows also wont let me and says its been used by a app.
If I upload some more files I can then delete the original files from
the previous upload.

To me it seems like the flash player isnt releasing the file

Any help would be greatly appretiated.

Richard


This topic has been closed for replies.
Correct answer -__cfSearching__-
Have you applied the latest patches? There was one to fix an issue with files being locked after using imageResize.

http://cfsearching.blogspot.com/2008/04/coldfusion-801-patch-issue-image-files.html
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402604

1 reply

-__cfSearching__-Correct answer
Inspiring
December 6, 2008
Have you applied the latest patches? There was one to fix an issue with files being locked after using imageResize.

http://cfsearching.blogspot.com/2008/04/coldfusion-801-patch-issue-image-files.html
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402604
Inspiring
December 6, 2008
You my friend are a genius. The thought that a hotfix existed hadnt even crossed my mind, I should pay more attention to things really.

Thank you very much, Richard.