Note that there are some explanatory texts on larger screens.

plurals
  1. POcffile not working at all
    text
    copied!<p><img src="https://i.stack.imgur.com/262OD.png" alt="enter image description here">cffile is giving a head ache now. My cfm is like this - </p> <p>`</p> <pre><code>&lt;cfif session.ismac and session.browsermake eq "firefox"&gt; &lt;cfset size = "55"&gt; &lt;/cfif&gt; &lt;cfset onChange = "document.frmMain.submit1.disabled = true;setdisplayname(this,this.form.dummy);"&gt; &lt;cfif displayname EQ ""&gt; &lt;cfset size = "document.frmMain.submit1.disabled = true;setdisplayname(this,this.form.displayname);"&gt; &lt;/cfif&gt; &lt;cfinput type="file" name="File#thisUploader#" id="File#thisUploader#" size="#size#" onKeyPress="return false;" onchange="#onChange#"&gt; </code></pre> <p>`</p> <p>and in my cfc the code is like this - </p> <pre><code>&lt;cffile accept="image/*" action="upload" destination="#application.artworkfilepath#\bulkuploads\#session.loginname#\#form.category#\" filefield="form.File#thisUploader#" nameconflict="makeunique"&gt; </code></pre> <p>and if I dump - <code>&lt;cfoutput&gt; You uploaded #cffile.ClientFileName#.#cffile.ClientFileExt# successfully to #cffile.ServerDirectory#. &lt;/cfoutput&gt; &lt;cfabort&gt;</code></p> <p>I get corrct things and no error. But when i look into the folder there is nothing.</p> <p>Anyidea? I have added the dump of cffile now. What do you make out of it? cfform code is like this <code>&lt;cfform id="frmMain" name="frmMain" action="process_multi.cfm" enctype="multipart/form-data" target="_self" method="post"&gt;</code></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload