Created
August 8, 2018 15:14
-
-
Save trycf/5614a9693ef6cd712a151c5d1d350c12 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdump var="#FORM#"> | |
<cfif structKeyExists(FORM, "myFiles")> | |
<cffile action="uploadAll" | |
destination="C:/path/to/uploaded/" | |
nameconflict="makeUnique" | |
fileField="myFiles" | |
result="uploadedFiles"/> | |
<cfdump var="#uploadedFiles#"> | |
</cfif> | |
<form method="post" enctype="multipart/form-data"> | |
<input type="file" name="myFiles" multiple> | |
<input type="submit"> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment