This is great stuff guys. Barney in your "move" scenario, how would you retrieve the fileext and clientfile name, etc? What I see is a dynamically assigned filename with "tmp" at the end.
Jeff -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barney Boisvert Sent: Thursday, November 18, 2004 2:06 PM To: [EMAIL PROTECTED] Subject: Re: [CFCDev] File Uploading via CFCs The data from the file is stored in a temp file by CF, and the form field contains the path to that file. So if you want the raw data, you can just use an action="read" on #form.filefield# to get it. You can't get it from the requests, because of the way the Servlet spec works. When a servlet reads the request params, they are destroyed, so they can only be read once, and they must ALL be read at that time. CF takes care of that, putting the results into the 'form' scope, with the added caveat that it does the temp file thing if you're uploading a file. cheers, barneyb On Thu, 18 Nov 2004 13:55:23 -0500, Brian Kotek <[EMAIL PROTECTED]> wrote: > But doesn't the binary data itself that the user uploaded have to be > somewhere? In the HTTP header? I'm not sure but I think that other > platforms (PHP comes to mind) do indeed allow developers to manipulate > the actual file data that is posted. Maybe with CF it's just not > possible? > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
