OK. Have you tried ...


<cfhttp url="" url" method="GET"></cfhttp>
<cfdump var="#cfhttp#">


Does that work?

  _____  

From: Brant Winter [mailto:[EMAIL PROTECTED]
Sent: Monday, 20 September 2004 4:08 p.m.
To: CF-Talk
Subject: RE: CFHTTP error

Yes I have.

  _____  

From: Matthew Walker [mailto:[EMAIL PROTECTED]
Sent: Monday, 20 September 2004 1:50 PM
To: CF-Talk
Subject: RE: CFHTTP error

looks like it's using the wrong page e.g. a server error page. Have you
tried a fully qualifyed URL?

  _____  

From: Brant Winter [mailto:[EMAIL PROTECTED]
Sent: Monday, 20 September 2004 3:46 p.m.
To: CF-Talk
Subject: CFHTTP error

Well there was more code, but I have gradually deleted it all in anger...

I now simply have:

<cfhttp

            method="get"

            name="qGetData"

            delimiter=","

            textqualifier=""""

            url="">
            timeout="20"

            >

</cfhttp>

The Book1.csv file is as below, but with about 200 lines, all with different
patient names and drug names.

Note: There are no column names in the data.

"977669","22/12/2003","MR","BOB","BOBBY","22 Citizen
Street","Brisbane","4000","1234567890","31/07/2008","","","","","","6666666"
,"Dr Bruce Willis","SODIUM CHLORIDE IV 0.9% VFLEX 1L","SODIUM
CHLORIDE","5","0","0","Use","CLIN"

When I run the code above, I get the following error:

The column name "<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN>" is
invalid.

Column names must be valid variable names. They must start with a letter and
can only include letters, numbers, and underscores.

----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer. It is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments will
not adversely affect its systems or data. Please carry out such virus and
other checks, as you consider appropriate. To the fullest extent allowed by
law, no responsibility is accepted by Haematology & Oncology Clinics of
Australasia for any virus damage caused by this message.
  _____

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

Reply via email to