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

Using cffileupload

Guest
Apr 15, 2011 Apr 15, 2011

I am using the cffileupload tag like <cffileupload url="cf/process.cfm" maxfileselect="5"> and for the process.cfm, it was:

<cffile action="uploadall" destination="c:\test" nameconflict="overwrite" />

<cfset str.STATUS = 200>

<cfset str.MESSAGE = "passed">

<cfoutput>#serializeJSON(str)#</cfoutput>

My question is this, does the cffileupload tag loop over the entire destination page each time a file is uploaded?  I added some logic I want to happen to those uploads AFTER they're all uploaded, but I think that its running my cfinvoke's each for each file........

Is there a way to redirect it to a page after ALL processing of the file uploads are done?

479
Translate
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 ,
Apr 16, 2011 Apr 16, 2011
LATEST

Yes it runs the "reciveing" page every time it uplaod a file.

you can use the "onUploadComplete" JS call of the cffileuploader to redirect the users to a diffrent page on complete.

Translate
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