snippet library logo
in category
ColdFusion / File Manipulation / Uploading files
Snippet details
ID: 79
Viewed: 1397
Added: 2002-02-12
Version:

User Rated at:
Rate This:
Snippets in this catagory         
Show Printable 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


Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.


Subject:

Reviewed By:

Write a review:





Terms of Conditions
Powered By
Avian Hosting
© 2005 snippetlibrary.com All Rights Reserved.