Hello All,

I have never used CFHTTP before,and I am running in to an issue.  I would like to retrieve information from a form on a remote server.  If I simple do this in IE .

https://username:[EMAIL PROTECTED]/search.cgi?name=searchname&number=123&search=all

This returns the proper information in my browser.

So I tried this in CF

<cfhttp
name="username"
password="password"
method="get"
url=""
resolveurl="yes"></cfhttp>

<cfoutput>
   #cfhttp.FileContent# </cfoutput>

But I get the following error  
      The column name "<!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN>" is invalid.  
      Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores.  

I don't really understand how columns work. I would just like to display that page or save it to a variable.

How do I deal with columns with CFHTTP?

Mike
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to