hello everybody,
i want to know the proper usage of <cfhttp> and <cfhttpparam>. i mean, i am
using a bit of code to upload a file to the server. but it gives me an error
saying that file attribute of cfhttpparam is not a valid one. i am using 3
files.
1) file1.cfm which is a form to select the txt file.
<form action = "upload_run.cfm" method = "post">
file : <input name = "uploadedfile" type="file">
<input name = "submit" type = "submit">
</form>
2) file2.cfm -- which is an action form to upload the file
<CFHTTP
URL="http://202.81.13.69/ics/edi/file3.cfm"
METHOD="post"
throwonerror="yes">
<cfhttpparam name="edidata" type="File" file="#form.uploadedfile#">
</cfhttp>
3) file3.cfm which does the parsing and the remaingin work. here i have
placed some code to test the uploading.
<cfoutput>
#CFHTTP.FILECONTENT#
#CFHTTP.FileContent#
#CFHTTP.MimeType#
#CFHTTP.Header#
#CFHTTP.StatusCode#
</cfoutput>
so, can anyone help me out with this. the proper usage of uploading.
thanx in advance
nagesh
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.