Answered
specify folder for cfinput type file to start in
Anybody know if there's a way when using <cfinput
type="file"...> to specify the folder the file browser starts
in?
Better yet (and what I REALLY want to do), is there a way to simply specify the file name used by CFFILE by concatenating path + filename + doc extension, ie:
<cfset form.photo = "source_path" & form.file_name_entered_by_user & ".jpg" >
and then:
<cffile action = "upload"
fileField = "form.photo" .....
This would mke things much easier for the users.
Better yet (and what I REALLY want to do), is there a way to simply specify the file name used by CFFILE by concatenating path + filename + doc extension, ie:
<cfset form.photo = "source_path" & form.file_name_entered_by_user & ".jpg" >
and then:
<cffile action = "upload"
fileField = "form.photo" .....
This would mke things much easier for the users.
