ColdFusion / File Manipulation / Uploading files
Snippet details
ID: 79
Viewed: 1397
Added: 2002-02-12
Version:
A short description on how to upload a file using Coldfusion. not much difference than any other way except fo rthe end code.
General Details
Snippet uploaded by: snippet
Email : webmaster@snippetlibrary.com
Snippet By: Dr. Web
<!---Head--->
none
<!---Body--->
<form name=upload action="uploadFile.cfm" method=post ENCTYPE="multipart/form-data">
<input type=file name=file>
</form>
//and now for my action page: "uploadFile.cfm"
<CFFILE ACTION="UPLOAD"
DESTINATION="c:inetpubtargetDirectorytargetFolder"
NAMECONFLICT="Overwrite"
FILEFIELD="file">
Your file has been saved.
No Reviews to show
