How are you tracking 'who' uploaded each file? ---------------------- William Seiter
On Jul 14, 2011, at 12:42 PM, Michelle Dupray <[email protected]> wrote: > > I have a series of pages with unique page ids. I used this code to upload > files to the server. For each page, I'd like to display a link to the > document the user uploaded (they'll only be uploading one.) Any ideas on how > to write the query that would bring up the link to the individual document? > Thanks! > > <cfif isdefined("form.submit_upload")> > <cffile action="UPLOAD" filefield="file_path" > > destination='D:\pathtoserver' nameconflict="MAKEUNIQUE"> > File Uploaded! > <br> > > </cfif> > > <form action="mydetailpagecfm?id=#Url.ID#" method="POST" name="frmupload" > > enctype="multipart/form-data"> > <input type="file" name="file_path"> > <input type="submit" name="submit_upload" value="upload"> > </form> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5366 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
