I'm sure the answer is pretty simple, but I just can't figure out why this 
won't work and I'm at my wit's end.

I am trying to allow the user to upload an Excel spreadsheet via a form.  I am 
trying to save it to a folder called "Excel."  For some reason, it's not 
uploading anything.  I don't get any error messages or anything--the file just 
won't show up.

In my application.cfm file, I have the following:

<cfif Not IsDefined("application.path")>
   <cfset application.path = GetDirectoryFromPath(GetCurrentTemplatePath())>
</cfif>


In my form file, I have:

<form name="ImportEmployees" method="post" action="PostImport.cfm" 
enctype="multipart/form-data">

File:  <input type="file" name="ESpreadsheet"><br />
<input name="submit" type="image" src="images/Submit.jpg" />
</form>


And in my PostImport.cfm file, I have:

<cffile action="upload" filefield="ESpreadsheet"  
destination="#expandPath('.')#/Excel/" nameconflict="makeunique">


Any help y'all can give me would be very much appreciated!  Thanks!

Chris

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2410
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to