Right, but I had asked "the text value of that input BEFORE you do any file actions on it?". Do you know if you can do that?
For instance, if I hit 'browse' on the form page, and selected C:\temp\test.txt, is there any variable on the action page that contains the string 'C:\temp\test.txt' without having to do a cffile. I don't think there is, but wanted to ask the list to be sure. I am using javascript right now to populate a hidden field and passing it that way. Thanks. Adam. > -----Original Message----- > From: Steve Oliver [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 6:24 PM > To: CF-Talk > Subject: RE: file input value > > > Yeah, after the file is uploaded. > > CFFILE.clientDirectory > Directory location of the file uploaded from the client's system > > CFFILE.clientFile > Name of the file uploaded from the client's system > > CFFILE.clientFileExt > Extension of the uploaded file on the client's system > without a period, > for example, txt not .txt > > CFFILE.clientFileName > Filename, without an extension, of the uploaded file on the client's > system > > > ______________________ > steve oliver > atnet solutions, inc. > http://www.atnetsolutions.com > > > -----Original Message----- > From: Cantrell, Adam [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 7:05 PM > To: CF-Talk > Subject: file input value > > > Hi, when submitting a multi-type form with an input of type "file", is > there > a way to reference the text value of that input before you do any file > actions on it? Outputting the variable form.filefieldname > will give the > local tmp file where the file is being stored. I could probably do it > with > javascript on the form page, and put the value in a hidden > field, but is > there a way to do it on the server side? > > Adam. > > > ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

