Hi all,
I have developed an application to generate emails for internal purposes. Part of the email requires reading a text file and pasting the contents into the email body.
Where the problem is:
We pull the text file from a specific directory on a network drive. I am trying to use <input type="hidden" name="readfile" value=""> and Javascript generates the value for the file to read based on other form input. Well when reading "readfile" for the field to upload, CF is generating an error:
The form field specified in the CFFILE tag does not contain an uploaded file.
Am I right in thinking this is for security reasons so that the client HAS to be the one chosing the file?
Or is there another way about this?
DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
I have developed an application to generate emails for internal purposes. Part of the email requires reading a text file and pasting the contents into the email body.
Where the problem is:
We pull the text file from a specific directory on a network drive. I am trying to use <input type="hidden" name="readfile" value=""> and Javascript generates the value for the file to read based on other form input. Well when reading "readfile" for the field to upload, CF is generating an error:
The form field specified in the CFFILE tag does not contain an uploaded file.
Am I right in thinking this is for security reasons so that the client HAS to be the one chosing the file?
Or is there another way about this?
DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic