> > Why do you need to do this before you process it with CFFILE?

Because once its uploaded the server hacks off the last (.)

For example:

original file: somefile.mack.txt

renamed file on server: somefile.mack


> > I would like to retrieve the original path of the file upload for 
> the purposes of grabbing the initial file name and then checking to 
> see how many full
> > stops (.) are in the original file.
> >
> > I need this to happen before I process it via <CFFILE>. Right now 
> the form data posts back in a <cfdump var=#form.
> b_original_form_filefield#>
> > as:
> >
> > C:\JRun4\servers\cfusion25\SERVER-INF\temp\cfusion.
> war-tmp\neotmp4910092545170934955.tmp
> >
> > which is sort of useless for my needs.
> >
> > Is there a workaround?
> 
> Why do you need to do this before you process it with CFFILE? All 
> that
> happens when you use CFFILE ACTION="UPLOAD" is that CF writes the 
> file
> to a specified location on the filesystem. The file has already been
> received by the web server, and stored in a temporary file location.
> So, write the file to the filesystem in one place, then move it
> somewhere else with a subsequent CFFILE if you really want to.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
> 
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342812
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to