when i use cffile to upload a file to a directory on my webserver, it seems
to rename the file when i try to insert that same file into my database.  
so if i upload say text.html it shows up in my database as a .tmp file.
what am i doing wrong?
<cffile action="UPLOAD" filefield="Files"
destination="c:\inetpub\wwwroot\admin\files" nameconflict="MAKEUNIQUE">
my insert statment is just
insert into tblarticles
(files)
values
('#GetFileFromPath(form.Files)#')


*************************************************
This e-mail, including any attachments, is intended for the 
receipt and use by the intended addressee(s), and may contain 
confidential and privileged information.  If you are not an intended 
recipient of this e-mail, you are hereby notified that any unauthorized 
use or distribution of this e-mail is strictly prohibited. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to