Skip navigation
Sign in
0
Search forums only
Search forums only
Cancel
Adobe
Support Home
Forums Home
News
People
Product
Menu begins
Adobe Creative Cloud
Downloading, Installing, Setting Up
Adobe Experience Cloud
Adobe Flash Player
Acrobat Reader
Adobe Acrobat
Adobe Photoshop
Adobe Photoshop Lightroom
Adobe Photoshop Elements
Adobe Dreamweaver
Adobe Muse
Adobe Animate CC
Adobe Premiere Pro
Adobe After Effects
Adobe Illustrator
Adobe InDesign
View all communities
Explore
Menu begins
Meet the experts
Learn our products
Get inspired in the lounge
Read the blog
Error: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page.
Please enter a title.
You can not post a blank message. Please type your message and try again.
More discussions
in
Advanced Techniques
All Communities
ColdFusion
Advanced Techniques
2 Replies
Latest reply
on Apr 16, 2008 8:39 AM by newportri
Uploaded File Location using cffile?
newportri
Apr 16, 2008 7:45 AM
Greetings"
I have a form users fill out and send and have the option to attach a file:
cffile action = "upload"
filefield = "FileContents"
In order to get this to work, I needed to create a field in the DB named "FileContents".
When a file is uploaded, this gets stored in the FileContents : C:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp315.tmp
The actual file does get uploaded to a directory folder that I specify with "destination=".
When an admin views the form submission, is there a way to display a link to the actual file that was uploaded ?
Something like:
<cfif #FileContents# IS "">
<cfelse><a href ="#filenamofuploadedfile#"> Click here to surface Uploaded File</a></cfif>?
Thanks in advance
newportri
I have the same question
Show 0 Likes
(0)
This content has been marked as final.
Show 2 replies
1.
Re: Uploaded File Location using cffile?
JR "Bob" Dobbs-qSBHQ2
Apr 16, 2008 8:27 AM
(
in response to newportri
)
This link may help
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=3&threadid=1351245
2.
Re: Uploaded File Location using cffile?
newportri
Apr 16, 2008 8:39 AM
(
in response to newportri
)
Bob:
Thanks for your quick reply.
I will try this later today and post if it works-
Thanks again
newportri
Actions
More Like This
Retrieving data ...
Legend
Correct Answers
- 10 points