Answered
cffile upload
Is there a way to capture the path of a file prior to
performing cffile upload? I have the following tag on my site:
<cffile action="upload" filefield="user_file" destination="mydir/" nameconflict="makeunique">
I need to have makeunique set because a ton of files come in everyday and I can't have people overwriting. However, I do want to try to eliminate dupes so I want to store the original path, then skip the cffile tag if that exact file from the exact user already exists.
<cffile action="upload" filefield="user_file" destination="mydir/" nameconflict="makeunique">
I need to have makeunique set because a ton of files come in everyday and I can't have people overwriting. However, I do want to try to eliminate dupes so I want to store the original path, then skip the cffile tag if that exact file from the exact user already exists.
