Randy,
Do I use that in my CFCONTENT. Currently i have....
<cfquery name="docs" datasource="lsars">
select documents from taavon.submissions
where lid = '#url.lid#'
</cfquery>
<cfcontent type="application/pdf"
file="c:\inetpub\wwwroot\Intranet-Secure\lsar_new\pdf\#docs.name#">
"Adkins, Randy" wrote:
>
> After the file is uploaded, you should be able to use:
> #File.ServerFile#
>
> -----Original Message-----
> From: James Taavon [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 13, 2001 10:13 AM
> To: CF-Talk
> Subject: Resolving file name after upload
>
> After successfully uploading a file to the server I want to be able to
> view from the web. Instead of storing the actual file name in the
> database it stored a temporary name C:\WINNT\TEMP\ACF8.tmp.
>
> I am using a CFCONTENT tag which works great if do direct insert into
> the database via SQL INSERT, but when using my CFFORM it uses this temp
> name. What can I do to resolve this problem to get the actual fil name
> in the database?
>
> Thanks!
>
> James
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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