<cfif isdefined("form.submit_upload")>
<cffile action="UPLOAD" filefield="file_path" destination="C:\ColdFusion9\wwwroot\eFiling2\Apps\Transit\download" nameconflict="MAKEUNIQUE">
</cfif>
<cfif not isDefined ("form.submit_upload")>
<table align="center">
<tr>
<td>
<br>
<form action="uploadfile" method="POST" name="frmupload" enctype="multipart/form-data">
<input type="file" name="file_path">
<br><br>
<input type="submit" name="submit_upload" value="upload">
</form>
</td>
</tr>
</table>
<cfelse>
<table align="center">
<tr>
<td align="center" valign="middle">
<font size="20">File Uploaded!</font> <br>
<a href="demoLetters">
<img src="go-back32.png" align="absmiddle" border="0" />
</a>
</td>
</tr>
</table>
</cfif>
The error showing already capture, refer the attachment, the figure upload form also attach.
Anything have to change with my code?

New Topic/Question
Reply



MultiQuote




|