• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Multiple file upload with Flex and ColdFusion Problem

Participant ,
Dec 06, 2008 Dec 06, 2008

Copy link to clipboard

Copied

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


TOPICS
Advanced techniques

Views

523

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Valorous Hero , Dec 06, 2008 Dec 06, 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

Votes

Translate

Translate
Valorous Hero ,
Dec 06, 2008 Dec 06, 2008

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 06, 2008 Dec 06, 2008

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation