I'm not familiar with ColdFusion and just learning, so please bear with me.
I have a form, which points to a perl script on a unix box.
The form has an <input type="file"> field. I'm told that the only way to get this field to work is unless I have the web page on a ColdFusion server box ... I have space on a coldfusion server, so I'm doing some test.
Anyway, I did a simple form to see if I will be able to more than just click on the BROWSE button, select my file. I want the file to be upload somewhere but I keep getting this error about ----- "The form field specified in the CFFILE tag (DITTO) does not contain an uploaded file. Please be sure that you have specified the correct form field name.
The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (17:1) to (17:132) in the template file "
I decided to add a @referer line in the perl script to the ColdFusion server, but after doing that I got an Internal Server Error.
Can someone please let me know what I'm doing and give me an easier way to go about this?
<html>
<body>
<FORM METHOD=post enctype="multipart/form-data" ACTION="<input type="file" name="ditto">
<INPUT TYPE=SUBMIT NAME=SUBMIT>
<input type="hidden" name="recipient" value="me@work.com">
<input type="hidden" name="required" value="recipient">
"">
<cffile action="UPLOAD" filefield="ditto" destination="/usr/local/opt/datagate/html/services/" nameconflict="MAKEUNIQUE" mode="755">
</form>
</body>
</html>
I have a form, which points to a perl script on a unix box.
The form has an <input type="file"> field. I'm told that the only way to get this field to work is unless I have the web page on a ColdFusion server box ... I have space on a coldfusion server, so I'm doing some test.
Anyway, I did a simple form to see if I will be able to more than just click on the BROWSE button, select my file. I want the file to be upload somewhere but I keep getting this error about ----- "The form field specified in the CFFILE tag (DITTO) does not contain an uploaded file. Please be sure that you have specified the correct form field name.
The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (17:1) to (17:132) in the template file "
I decided to add a @referer line in the perl script to the ColdFusion server, but after doing that I got an Internal Server Error.
Can someone please let me know what I'm doing and give me an easier way to go about this?
<html>
<body>
<FORM METHOD=post enctype="multipart/form-data" ACTION="<input type="file" name="ditto">
<INPUT TYPE=SUBMIT NAME=SUBMIT>
<input type="hidden" name="recipient" value="me@work.com">
<input type="hidden" name="required" value="recipient">
"">
<cffile action="UPLOAD" filefield="ditto" destination="/usr/local/opt/datagate/html/services/" nameconflict="MAKEUNIQUE" mode="755">
</form>
</body>
</html>