CFFile action blues
I am trying to let a user upload excel spreadsheets to a different directory that is located on our webserver.
I have tried many paths but it always comes back withe same error. pls see cod
<form action="upLoadFileAction2.cfm"
enctype="multipart/form-data"
method="post">
<p>Enter the complete path and filename of the file to upload:
<input type="file"
name="datafile"
size="125">
</p>
<input type="submit"
value="Upload">
</form>
---------------------------------------------------------------------------------------------------------------------------------------------
<cffile action="upload"
destination="S:\LibraryData\FORMS\PROSPECTUS_and_WORKSHEET\NEWkshts/"
nameConflict="overwrite"
fileField="dataFifle" >
<cfoutput>
You uploaded #cffile.ClientFileName#.#cffile.ClientFileExt#
successfully to #cffile.ServerDirectory#.
</cfoutput>
