Title: CFHTTP

Anyone know what a 502 Bad Gateway error is?
I got a CF server that runs an agent with this CFHTTP tag.

<cfhttp url="http://192.168.1.185/webtools/RFDocSend.exe" throwonerror="Yes" method="Post" resolveurl="false">  

                        <!--Loop through the files from ftp and weed out all but the tif's and create the field params-->

                        <cfloop query="QryFileList">
                        <cfif FindNoCase('.tif',QryFileList.Name) is not 0>
                                   <cfhttpparam type="FORMFIELD" name="local-file" value="e:\#QryGetFaxFiles.filePath#\#Name#">                         </cfif>
</cfloop>      

<!--Start the RightFax server-->
<cfhttpparam type="FORMFIELD" name="to-faxnum" value="4983311">
<cfhttpparam type="FORMFIELD" name="to-name" value="Rick">
<cfhttpparam type="FORMFIELD" name="pass" value="">
<cfhttpparam type="FORMFIELD" name="server" value="faxserver">
<cfhttpparam type="FORMFIELD" name="protocol" value="tcpip">                

</cfhttp>

The RightFax server is on non CF server.

I get the 502 Bad Gatway error.

Anyone know why?
Thank you
Rick

Reply via email to