title: Uploading a File from Client to Server Displays Incorrect path: tmp\neotmp3547547292957915297.tmp
body: <p>I would like to upload a file (whatever the type of file) to a server using ColdFusion. So i tried the following lines:</p>
  
  <pre><code>&lt;cfform action="form.cfm" enctype="multipart/form-data" method="post"&gt;
      &lt;input type="file" name="ScanCopyofthequotation" /&gt;
      &lt;input type="submit" value="Submit" name="submit" /&gt;
  &lt;/cfform&gt;
  
  &lt;cfif isdefined("form.submit")&gt;
      &lt;cffile
          action="UPLOAD"
          filefield="Form.ScanCopyofthequotation"
          destination="C:\Inetpub\wwwroot\Devlopment\Mani\Backup\"
          nameconflict="MAKEUNIQUE"&gt;
  &lt;/cfif&gt;
  </code></pre>
  
  <p>It uploads fine. But while displaying the path which is selected by <code>&lt;input type="file" ...&gt;</code>  it displays the following path
  <em>C:\ColdFusion9\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp3547547292957915297.tmp</em></p>
  
  <p>I tried to solve this. But failed. Could anyone please help to display the exact path?</p>
  
  <hr>
  
  <p>I have a ColdFusion form: </p>
  
  <pre><code>&lt;cfif not IsDefined("form.Submit")&gt; 
      &lt;cfform action = "cfmail.cfm" enctype="multipart/form-data" method="POST"&gt; 
         ScanCopy :   &lt;cfinput type="file" name="scancopy"&gt;
      &lt;cfform&gt; 
  &lt;cfelse&gt; 
     &lt;cfoutput&gt; Scancopy : #scancopy#&lt;/cfoutput&gt;
  &lt;/cfif&gt;
  </code></pre>
  
  <p>I tried to print the file which I'm uploading, but when printing that file name I get the following file path:</p>
  
  <pre><code>C:\ColdFusion9\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp3547547292957915297.tmp
  </code></pre>
  
  <p>I tried cfdump also.</p>