Answered
Upload issues
Okay this is driving me nuts. I haven't had to do file
uploads (using cffile) in several years that I have forgotten how I
accomplished this before.
Currently I have a form in a subfolder called "fails" which is directly under my root (wwwroot/fails). All I want to do is send any files uploaded to a subfolder called "data" (wwwroot/fails/data). I know I need to set the path in the destination field, but I do not want to hard code the actual path (c:\cfusion8\...). I remember there being a variable that would show me the relative path of a file, but I forgot was that was called (I thought it was a CGI variable but none of them worked).
Any help will be appreciated.
Currently I have a form in a subfolder called "fails" which is directly under my root (wwwroot/fails). All I want to do is send any files uploaded to a subfolder called "data" (wwwroot/fails/data). I know I need to set the path in the destination field, but I do not want to hard code the actual path (c:\cfusion8\...). I remember there being a variable that would show me the relative path of a file, but I forgot was that was called (I thought it was a CGI variable but none of them worked).
Any help will be appreciated.
