Re: CFHTTP Problem - is file type extension required?

2009-06-05 Thread Gerald Weir

Dave and Brad,

Thanks a bunch for your attention to this matter.

I finally got to speak with the author of the web service and he told me that 
the web service is expecting a web connection with cookie and session ID on 
the client side.

I see Brad noted that a cookie could be part of the problem so I can use the 
cfhttpparam as he suggests.

I'm not sure about the sessionID but I'll try to figure something out.  I guess 
that when CF calls the page from CFHTTP the cookie and session ID are not 
established (provided) whereas when viewed through a browser it is.

I'll still follow up with the suggestion regarding Fiddler and constructing the 
request.  I use Fiddler for other things but never used it to construct 
requests as you suggest.

Regards, Jerry 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323203
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Problem - is file type extension required?

2009-06-05 Thread Dave Watts

 I'm not sure about the sessionID but I'll try to figure something out.  I 
 guess that when CF
 calls the page from CFHTTP the cookie and session ID are not established 
 (provided)
 whereas when viewed through a browser it is.

Those things aren't provided by default when you use CFHTTP. It's up
to you to provide them across subsequent requests. If you're only
requesting one page, that shouldn't be an issue, but if you request
one page which sets a cookie, and are redirected to another page, it
could very well be an issue.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323204
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Problem - is file type extension required?

2009-06-05 Thread Ian Skinner

Gerald Weir wrote:
 I'm not sure about the sessionID but I'll try to figure something out.  I 
 guess that when CF calls the page from CFHTTP the cookie and session ID are 
 not established (provided) whereas when viewed through a browser it is.
   

The cookie is provided when CF calls the page just as it is from a 
browser.  But with CF *you* are responsible to capture the cookie, save 
the cookie and return the cookie on future calls to the web service.  
The programmers who created the browser has taken care of all of that 
for you when you use their tool with cookie enabled web sites.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323205
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir

Hello all,

I've tried using cfhttpparam and it hasn't helped.  The only thing that I can 
think of at this moment is that CF's CFHTTP doesn't properly format the request 
if a doc-type suffix is not present.  So, since I have the following:

http://some.server.com/websvc/util?a=doHTMLRequestevent=workgroupstat

and there is not a doc-type suffix then the request doesn't work.

As I said earlier in the post I have no problems with pulling any page from the 
internet or our network using this technique and when viewed from a browser the 
request is perfectly formed and works fine.

Any other ideas out there or can someone confirm my hypothesis?

Thanks, Jerry 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323161
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Dave Watts

 I've tried using cfhttpparam and it hasn't helped.  The only thing that I can 
 think of at
 this moment is that CF's CFHTTP doesn't properly format the request if a 
 doc-type
 suffix is not present.  So, since I have the following:

 http://some.server.com/websvc/util?a=doHTMLRequestevent=workgroupstat

 and there is not a doc-type suffix then the request doesn't work.

I'm not sure what you mean by a doc-type suffix.

 As I said earlier in the post I have no problems with pulling any page from 
 the internet
 or our network using this technique and when viewed from a browser the 
 request is
 perfectly formed and works fine.

CFHTTP can do exactly what your browser does. So, if you can fetch a
page with a browser but can't fetch it with CFHTTP, check to see
exactly what the browser is sending, and send the exact same things
with CFHTTP. It's as simple as that.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more informatio

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323162
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir

Hello Dave,

It's been a long time since I've received your advice, glad to see you're still 
at it and helping out.

Unfortunately, it clearly doesn't work. I can - and have - repeatedly called 
the page using that URL from a browser and it works.  It's a pretty simple 
request and returns very simple HTML code.  I've made a copy of the request 
response and saved it as a simple HTML file on the same server (using the URL 
in the CFHTTP call from a browser) and called it using CFHTTP and there is no 
problem.

Something else is going on here but I can't tell what.  We use CFHTTP quite a 
bit on our admin application for various in-house updates, etc. so we are very 
familiar with the function.  Yet, for this situation it isn't working.

doc type:  .cfm, .jsp, .asp, etc. (file type) - sorry to be unclear.

Jerry 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323163
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Dave Watts

 Unfortunately, it clearly doesn't work. I can - and have - repeatedly called 
 the page
 using that URL from a browser and it works.  It's a pretty simple request and 
 returns
 very simple HTML code.  I've made a copy of the request response and saved it 
 as a
 simple HTML file on the same server (using the URL in the CFHTTP call from a
 browser) and called it using CFHTTP and there is no problem.

Have you examined the HTTP request and response headers in detail? You
may need to send additional information with CFHTTP, or change some of
the information that's already being sent.

Is there any redirection on the server? You may need to tell CFHTTP to
follow through the redirection, or target the redirection URL
directly.

But I can tell you, with a pretty high degree of certainty, that if
you can get something with a browser you can get it with CFHTTP.

 doc type:  .cfm, .jsp, .asp, etc. (file type) - sorry to be unclear.

That doesn't make any difference.

Is this URL publicly available?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more informati

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323164
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Brad Wood

Gerald,

What do you mean when you say it doesn't work?  Does the remote server 
respond?  What HTTP status code comes back?  What is in the body of the 
response?

I would recommend installing a packet sniffer like wireshark.  Install it on 
your CF server and run your browser tests from there.  Start it up and make 
a request from a browser (on that server) and follow the TCP stream to find 
the exact request headers being sent to the server.  Then run the CF page 
with the cfhttp call and get the request headers from that and compare.

Also, Microsoft Fiddler has a request builder tab that lets you build any 
HTTP request you want for testing that has whatever headers you specify.

Good Luck.

~Brad 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323165
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir

I'll include the whole get-go here and see if anyone sees anything else.  The 
server was disconnected accidentally for the last 2 hours so I got behind on my 
posts.


Here is the URL and the result from a browser:

http://server.somewhere.com/websvc/util?a=doHTMLRequestevent=workgroupstat

Result from the request:

HTMLHEADTITLEAgents 
Available/TITLE/HEADBODYH2workgroup:Chat/H2H2agents_available:1/H2H2agents_logged_in:1/H2/BODY/HTML

here is the CF code:

cfset Mokrynski.PageName = _
cfsetting showdebugoutput=no
!---cfhttp 
method=get 
url=http://server.somewhere.com/websvc/util;
cfhttpparam name=a type=URL value=doHTMLRequest
cfhttpparam name=event type=URL value=workgroupstat
/cfhttp---
cfhttp 
method=get 

url=http://server.somewhere.com/websvc/util?a=doHTMLRequestevent=workgroupstat;
 /

cfset agentCount = (cfhttp.fileContent)
cfoutput#agentCount#/cfoutput

cfoutput
pcfhttp.errorDetail:nbsp;nbsp;#cfhttp.errorDetail#/p
pcfhttp.text:nbsp;nbsp;#cfhttp.text#/p
pcfhttp.statusCodenbsp;nbsp;#cfhttp.statusCode#/p
pcfhttp.MIMETypenbsp;nbsp;#cfhttp.MIMEType#/p
pcfhttp.headernbsp;nbsp;#cfhttp.header#/p
/cfoutput

here is the source code from the resultant page when I use the code above:

...about 10 blank lines.

pcfhttp.errorDetail:nbsp;nbsp;/p
pcfhttp.text:nbsp;nbsp;YES/p
pcfhttp.statusCodenbsp;nbsp;200 OK/p
pcfhttp.MIMETypenbsp;nbsp;Unable to determine MIME type of file./p
pcfhttp.headernbsp;nbsp;HTTP/1.1 200 OK
Set-Cookie: JSESSIONID=CDE7D7C516BA85674B6859522ADC9CB4; Path=/websvc
Date: Thu, 04 Jun 2009 16:25:12 GMT
Content-Length: 0
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
/p

I expect to see the HTMLHEAD... etc. code above the cfhttp.variables listed 
at the bottom.

Thanks in advance.
Jerry 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323177
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Matt Williams

I usually just do a cfdump of the cfhttp variable. If you aren't getting what 
you expect then you've either got the wrong url or are not passing something 
correctly. You may need to be grabbing a cookie from an earlier landing page 
and passing that back as part of the cfhttp request. And depending on what type 
of web server the site is on that cookie may need to be appended to the url 
(;jsessionid=xyz).

I've been going rounds with various cfhttp calls too and am about to post my 
own question regarding getting pdfs... Stay tuned. :)

-Matt


 I'll include the whole get-go here and see if anyone sees anything 
 else.  The server was disconnected accidentally for the last 2 hours 
 so I got behind on my posts.
 
 
 Here is the URL and the result from a browser:
 
 http://server.somewhere.
 com/websvc/util?a=doHTMLRequestevent=workgroupstat
 
 Result from the request:
 
 HTMLHEADTITLEAgents 
Available/TITLE/HEADBODYH2workgroup:Chat/H2 
H2agents_available:1/H2H2agents_logged_in:1/H2/BODY/HTML
 
 here is the CF code:
 
 cfset Mokrynski.PageName = _
 cfsetting showdebugoutput=no
 !---cfhttp 
   method=get 
   url=http://server.somewhere.com/websvc/util;
   cfhttpparam name=a type=URL value=doHTMLRequest
   cfhttpparam name=event type=URL value=workgroupstat
 /cfhttp---
 cfhttp 
   method=get 
   url=http://server.somewhere.
 com/websvc/util?a=doHTMLRequestevent=workgroupstat /
 
 cfset agentCount = (cfhttp.fileContent)
 cfoutput#agentCount#/cfoutput
 
 cfoutput
 pcfhttp.errorDetail:nbsp;nbsp;#cfhttp.errorDetail#/p
 pcfhttp.text:nbsp;nbsp;#cfhttp.text#/p
 pcfhttp.statusCodenbsp;nbsp;#cfhttp.statusCode#/p
 pcfhttp.MIMETypenbsp;nbsp;#cfhttp.MIMEType#/p
 pcfhttp.headernbsp;nbsp;#cfhttp.header#/p
 /cfoutput
 
 here is the source code from the resultant page when I use the code 
 above:
 
...
 about 10 blank lines.
 
 pcfhttp.errorDetail:nbsp;nbsp;/p
 pcfhttp.text:nbsp;nbsp;YES/p
 pcfhttp.statusCodenbsp;nbsp;200 OK/p
 pcfhttp.MIMETypenbsp;nbsp;Unable to determine MIME type of file.
 /p
 pcfhttp.headernbsp;nbsp;HTTP/1.1 200 OK
 Set-Cookie: JSESSIONID=CDE7D7C516BA85674B6859522ADC9CB4; Path=/websvc
 Date: Thu, 04 Jun 2009 16:25:12 GMT
 Content-Length: 0
 Server: Microsoft-IIS/6.0
 X-Powered-By: ASP.NET
 /p
 
 I expect to see the HTMLHEAD... etc. code above the cfhttp.
 variables listed at the bottom.
 
 Thanks in advance.
 Jerry 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323181
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Dave Watts

 I'll include the whole get-go here and see if anyone sees anything else.  The 
 server
 was disconnected accidentally for the last 2 hours so I got behind on my 
 posts.


 Here is the URL and the result from a browser:

That's not the whole get-go. Where are the HTTP request and response headers?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323183
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir

Dave,
Is this what you need?  I'm beginning to think that it is a security setting on 
the web service itself.  Like an access setting in a cffunction.  I'm not sure 
how the web service is constructed - it's not CFM.
-
http://chat.drleonards.com/websvc/util?a=doHTMLRequestevent=workgroupstat

GET /websvc/util?a=doHTMLRequestevent=workgroupstat HTTP/1.1
Host: chat.drleonards.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) 
Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729) Creative ZENcast v2.00.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: JSESSIONID=95FCD9A6D380DE31D8958B3B6AAE; 
BIGipServerDRL_HTTP_Pool_Prod=1291911434.22528.; 1=2001181047

HTTP/1.x 200 OK
Connection: close
Date: Thu, 04 Jun 2009 19:12:46 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Set-Cookie: JSESSIONID=B58C0E963067748C08B3FC13AB747576; Path=/websvc
Set-Cookie: 1=2001181050; Path=/
Content-Type: text/html;charset=UTF-8
--

I have to leave for the day but thanks for taking the time to help with this.

Jerry 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323185
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFHTTP Problem - is file type extension required?

2009-06-04 Thread brad

Gerald, 

We're still missing one more thing.  That is what the request headers
look like when your CF server makes its CFHTTP call.  You need to know
what that looks like so you can find the differences.

Install MS Fiddler, go to its Request Builder tab and paste in these
exact headers your browser is sending.  Fiddler has separate form fields
for the host/get part and http version.  Click Execute.

That should exactly emulate your browser's request.  Change the request
line by line to look like CF's request and re-submit it until it stops
returning what you expect.  That will be the difference.

I can tell you right now that CFHTTP isn't going to be sending those
cookies which are very likely part of the problem.  

You can specify cookie headers with cfhttpparam type=COOKIE name=
value= /

Here is blog post on the topic:
http://www.bennadel.com/blog/725-Maintaining-Sessions-Across-Multiple-ColdFusion-CFHttp-Requests.htm

The web service provider should have documented information as what the
web service requires to be consumed including whether cookies need to be
accepted and returned.

~Brad

 Original Message 
Subject: Re: CFHTTP Problem - is file type extension required?
From: Gerald Weir malleth...@att.net
Date: Thu, June 04, 2009 2:12 pm
To: cf-talk cf-talk@houseoffusion.com


Dave,
Is this what you need? I'm beginning to think that it is a security
setting on the web service itself. Like an access setting in a
cffunction. I'm not sure how the web service is constructed - it's not
CFM.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323186
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFHTTP Problem - maybe with URL

2009-06-03 Thread Gerald Weir

Hello,

Running CF8 on Win2003/IIS.  I have the following simple code to check a value 
from another server:

cfhttp method=get 
URL=
http://server.somewhere.com/websvc/util?a=doHTMLRequestevent=workgroupstat; 
throwonerror=yes
cfset theContent = #cfhttp.FileContent#
cfoutput
   #theContent#
/cfoutput

If I change the URL to http://www.google.com or whatever I get the proper 
result.  The URL that is shown above returns nothing. The URL works fine. It's 
a simple HTML file with the following code from which I need to pull the 
agents_available data:

HTMLHEADTITLEAgents 
Available/TITLE/HEADBODYH2workgroup:Chat/H2H2agents_available:1/H2H2agents_logged_in:1/H2/BODY/HTML

I cannot understand why I can call any other page from the internet and put it 
into my theContent variable but I can't call the one I need.  Could it be 
something in the structure of the URL??

Any ideas are appreciate.  Regards, Jerry 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323117
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Problem - maybe with URL

2009-06-03 Thread Francois Levesque

Hi Jerry,
If you go to the address in the browser, do you get the expected result?

Francois Levesque
http://blog.critical-web.com/


On Wed, Jun 3, 2009 at 1:25 PM, Gerald Weir malleth...@att.net wrote:


 Hello,

 Running CF8 on Win2003/IIS.  I have the following simple code to check a
 value from another server:

 cfhttp method=get
URL=
 
 http://server.somewhere.com/websvc/util?a=doHTMLRequestevent=workgroupstat
 
throwonerror=yes
 cfset theContent = #cfhttp.FileContent#
 cfoutput
   #theContent#
 /cfoutput

 If I change the URL to http://www.google.com or whatever I get the proper
 result.  The URL that is shown above returns nothing. The URL works fine.
 It's a simple HTML file with the following code from which I need to pull
 the agents_available data:

 HTMLHEADTITLEAgents
 Available/TITLE/HEADBODYH2workgroup:Chat/H2H2agents_available:1/H2H2agents_logged_in:1/H2/BODY/HTML

 I cannot understand why I can call any other page from the internet and put
 it into my theContent variable but I can't call the one I need.  Could it be
 something in the structure of the URL??

 Any ideas are appreciate.  Regards, Jerry

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323119
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Problem - maybe with URL

2009-06-03 Thread Gerald Weir

Francois,

I guess it's not clear that the code I included beginning with HTMLHEAD 
is the correct response using the URL using a browser.

I'm thinking now that possibly because the other server is not a CF server I 
may need to use cfhttpparam.  I do not use this on several cfhttp-based pages 
that we use from within the network/site.

I'm going to give that a try.

Jerry 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323123
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFHTTP problem

2005-05-05 Thread David Critchley
I am trying to extract data from a textfile database, using CFHTTP.  The 
problem I am running into is that there are null fields in the textfile 
database and CFHTTP is then counting two fields as one (tab seperated).  For 
example, in my textfile there will be something like this:

field1 field2 field3
data data data
data  data
data data data

I am getting an Incorrect number of columns error, because coldfusion is 
missing the null field and counting only 2 fields for the second row of data.  
Has anyone else come accross this, or have any suggestions?  I have considered 
using the replace function on the variable and replacing all double tabs with a 
tabspacetab.  But this to me seems like a poor work around.

I am using CFHTTP url=#pathtofile# columns=field1,field2,field3 
firstrowasheaders=yes delimiter=tab/CFHTTP

David Critchley

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205713
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFHTTP problem

2005-05-05 Thread David Critchley
No suggestions on this one?

 I am trying to extract data from a textfile database, using CFHTTP.  
 The problem I am running into is that there are null fields in the 
 textfile database and CFHTTP is then counting two fields as one (tab 
 seperated).  For example, in my textfile there will be something like 
 this:
 
 field1 field2 field3
 data data data
 data  data
 data data data
 
 I am getting an Incorrect number of columns error, because coldfusion 
 is missing the null field and counting only 2 fields for the second 
 row of data.  Has anyone else come accross this, or have any 
 suggestions?  I have considered using the replace function on the 
 variable and replacing all double tabs with a tabspacetab.  But this 
 to me seems like a poor work around.
 
 I am using CFHTTP url=#pathtofile# columns=field1,field2,field3 
 firstrowasheaders=yes delimiter=tab/CFHTTP
 
 David 
Critchley

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205750
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP problem

2005-05-05 Thread S . Isaac Dealey
I don't think you'll be able to fetch it directly into a query with
cfhttp unless you can put a value in those columns. The alternative
would be fetch the content into the usual text string returned in the
cfhttp content variable and parse the content once you have it down.

 No suggestions on this one?

 I am trying to extract data from a textfile database,
 using CFHTTP.
 The problem I am running into is that there are null
 fields in the
 textfile database and CFHTTP is then counting two fields
 as one (tab
 seperated).  For example, in my textfile there will be
 something like
 this:

 field1 field2 field3
 data data data
 data  data
 data data data

 I am getting an Incorrect number of columns error,
 because coldfusion
 is missing the null field and counting only 2 fields for
 the second
 row of data.  Has anyone else come accross this, or have
 any
 suggestions?  I have considered using the replace
 function on the
 variable and replacing all double tabs with a
 tabspacetab.  But this
 to me seems like a poor work around.

 I am using CFHTTP url=#pathtofile#
 columns=field1,field2,field3
 firstrowasheaders=yes delimiter=tab/CFHTTP

s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205760
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFHTTP problem

2005-05-05 Thread Ewok
Simply put... You'll need to put something in the empty fields one way or
another. 

If not before it's pulled in as a query structure, then you'll have to bring
it in as a string and fix the empty values.

Replace 'tab tab' with 'tab null tab'
Replace 'chr(13)chr(10) tab' with 'chr(13)chr(10) null tab'
Replace 'tab chr(13)chr(10)' with 'tab nullchr(13)chr(10)'

(I think that would cover all the possible empties.) 
(no spaces of course)

Then put it in a query structure

And you could treat it as a nested tab delimited list inside a
chr(13)chr(10) delimited list and replace empty list items with whatever you
wanted

Then put it in a query structure

Messy? Yes. Huge lists usually are. The best thing to do would be to fix it
before it is read in.


-Original Message-
From: David Critchley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 05, 2005 4:42 PM
To: CF-Talk
Subject: CFHTTP problem

No suggestions on this one?

 I am trying to extract data from a textfile database, using CFHTTP.  
 The problem I am running into is that there are null fields in the 
 textfile database and CFHTTP is then counting two fields as one (tab 
 seperated).  For example, in my textfile there will be something like 
 this:
 
 field1 field2 field3
 data data data
 data  data
 data data data
 
 I am getting an Incorrect number of columns error, because coldfusion 
 is missing the null field and counting only 2 fields for the second 
 row of data.  Has anyone else come accross this, or have any 
 suggestions?  I have considered using the replace function on the 
 variable and replacing all double tabs with a tabspacetab.  But this 
 to me seems like a poor work around.
 
 I am using CFHTTP url=#pathtofile# columns=field1,field2,field3 
 firstrowasheaders=yes delimiter=tab/CFHTTP
 
 David 
Critchley



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205817
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFHTTP problem

2004-11-08 Thread Andrew Dixon
Hi All.

I'm having a problem getting access to a service via HTTP. The problem
I'm having is that the Post Header the service requires starts:

POST /DCDS/AvailSearch.exe HTTP/1.1

and at the moment I'm using a CFHTTP with method=Post and getting:

POST HTTP/1.1

Any ideas how I get the other bit into this string?

Thanks.

Andrew.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183595
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP problem

2004-11-08 Thread Andrew Dixon
Ignore me... I was being thick... The /DCDS/AvailSearch.exe is simply
the path the file I need to post the data to.

Andrew.


On Mon, 8 Nov 2004 11:45:39 +, Andrew Dixon [EMAIL PROTECTED] wrote:
 Hi All.
 
 I'm having a problem getting access to a service via HTTP. The problem
 I'm having is that the Post Header the service requires starts:
 
 POST /DCDS/AvailSearch.exe HTTP/1.1
 
 and at the moment I'm using a CFHTTP with method=Post and getting:
 
 POST HTTP/1.1
 
 Any ideas how I get the other bit into this string?
 
 Thanks.
 
 Andrew.


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183598
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFHTTP problem, SSL, and PayPal IPN

2004-01-18 Thread Jake McKee
I've been using PayPal's IPN system for automated purchasing for a while
now. It's been working like a champ for a couple of months, and then
suddenly stopped working without change to the code or server config.
After searching high and low, I discovered that PayPal recently changed
their IPN functionality to require 128bit SSL. 

Since my CFMX server is still running CFMX 6.0, and an upgrade to 6.1
(which supposedly fixes the CFHTTP problems) is not possible, I'm at a
bit of a loss. (It seems that Able Commerce, which is also running on
this server has a problem of some sort with 6.1 vs. 6.0. And no, I cant'
switch to Able Commerce)

Anyone have any ideas for a possible CFHTTP replacement that DOES do
128bit SSL correctly?

Thanks in advance for your help!

Jake
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFHTTP problem, SSL, and PayPal IPN

2004-01-18 Thread Greg Luce
Why is upgrading to 6.1 out of the question? It's my understanding that
staying with 6.0 is asking for trouble. There's no cost to the upgrade
correct?

 
Greg

 
-Original Message-
From: Jake McKee [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 18, 2004 5:31 PM
To: CF-Talk
Subject: CFHTTP problem, SSL, and PayPal IPN

 
I've been using PayPal's IPN system for automated purchasing for a while
now. It's been working like a champ for a couple of months, and then
suddenly stopped working without change to the code or server config.
After searching high and low, I discovered that PayPal recently changed
their IPN functionality to require 128bit SSL. 

Since my CFMX server is still running CFMX 6.0, and an upgrade to 6.1
(which supposedly fixes the CFHTTP problems) is not possible, I'm at a
bit of a loss. (It seems that Able Commerce, which is also running on
this server has a problem of some sort with 6.1 vs. 6.0. And no, I cant'
switch to Able Commerce)

Anyone have any ideas for a possible CFHTTP replacement that DOES do
128bit SSL correctly?

Thanks in advance for your help!

Jake
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFHTTP problem, SSL, and PayPal IPN

2004-01-18 Thread Dave Watts
 Anyone have any ideas for a possible CFHTTP replacement that 
 DOES do 128bit SSL correctly?

The IO JSP custom tag from the Jakarta project should work:

http://jakarta.apache.org/taglibs/doc/io-doc/index.html

But as others have said, you should probably look to migrate to CFMX 6.1,
which fixes a lot of significant problems with the previous version.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFHTTP problem with cfmx

2002-08-29 Thread Houk, Gary

The following code works in cf5 but not in mx running on port 8500. Am I missing 
something here?

cfhttp 
url=http://stg1.experian.com/lookupServlet1?lookupServiceName=AccessPointlookupServiceVersion=1.0serviceName=NetConnectDemoserviceVersion=2.0responseType=text/plain;
 method=GET resolveurl=yes proxyserver=proxy.verizon.com proxyport=80
/cfhttp
cfoutput#cfhttp.filecontent#/cfoutput
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP problem with cfmx

2002-08-29 Thread Tony Weeg

does your proxy server that you are running through have any issues
with the 8500 port number?

tw


-Original Message-
From: Houk, Gary [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 29, 2002 2:45 PM
To: CF-Talk
Subject: CFHTTP problem with cfmx


The following code works in cf5 but not in mx running on port 8500. Am I
missing something here?

cfhttp
url=http://stg1.experian.com/lookupServlet1?lookupServiceName=AccessPoi
ntlookupServiceVersion=1.0serviceName=NetConnectDemoserviceVersion=2.
0responseType=text/plain method=GET resolveurl=yes
proxyserver=proxy.verizon.com proxyport=80
/cfhttp
cfoutput#cfhttp.filecontent#/cfoutput

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFHTTP Problem in MX (not 4 or 5)

2002-08-13 Thread James Smith

Under CF4 and 5 the following block of code returned a query result set as
it should.

cfhttp url=https://www.domain.com/file.csv;
username=user
password=pass
method=GET
name=FetchCSV
columns=Domain,Reg,Renewal
delimiter=,
textqualifier=
/cfhttp

Unforrtunately the returned csv looks like the following:

Total Domains,29
Domain Name,Renewal Date,Registration Date
domain1.com,01-01-2001,01-01-2003

etc...
The problem is that the first row has only 2 columns so the cfhttp tag
throws an error because I have listed three column names.

Both CF4 and CF5 ignored this and worked just fine but CFMX throws an error
and refuses to process the data. I have NO control over the format of the
CSV file.

HELP! Does anyone have any solutions to this problem? Going back to CF5 is
not an option. I do not need the first two rows if there is a way to ignore
them as I know the column names and I can count the number of rows to get a
total if that helps.

--
Jay
[EMAIL PROTECTED]

Computer games don't affect kids, I mean if Pac Man affected us as kids,
we'd all be running around in darkened rooms, munching pills and listening
to repetitive music...


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP Problem in MX (not 4 or 5)

2002-08-13 Thread Stacy Young

What's the error its throwing?


-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 13, 2002 4:32 AM
To: CF-Talk
Subject: CFHTTP Problem in MX (not 4 or 5)

Under CF4 and 5 the following block of code returned a query result set as
it should.

cfhttp url=https://www.domain.com/file.csv;
username=user
password=pass
method=GET
name=FetchCSV
columns=Domain,Reg,Renewal
delimiter=,
textqualifier=
/cfhttp

Unforrtunately the returned csv looks like the following:

Total Domains,29
Domain Name,Renewal Date,Registration Date
domain1.com,01-01-2001,01-01-2003

etc...
The problem is that the first row has only 2 columns so the cfhttp tag
throws an error because I have listed three column names.

Both CF4 and CF5 ignored this and worked just fine but CFMX throws an error
and refuses to process the data. I have NO control over the format of the
CSV file.

HELP! Does anyone have any solutions to this problem? Going back to CF5 is
not an option. I do not need the first two rows if there is a way to ignore
them as I know the column names and I can count the number of rows to get a
total if that helps.

--
Jay
[EMAIL PROTECTED]

Computer games don't affect kids, I mean if Pac Man affected us as kids,
we'd all be running around in darkened rooms, munching pills and listening
to repetitive music...



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP Problem in MX (not 4 or 5)

2002-08-13 Thread James Smith

The exact error is Incorrect number of columns in row. caused by that
short first row.

--
Jay
[EMAIL PROTECTED]

Computer games don't affect kids, I mean if Pac Man affected us as kids,
we'd all be running around in darkened rooms, munching pills and listening
to repetitive music...

- Original Message -
From: Stacy Young [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, August 13, 2002 12:57 PM
Subject: RE: CFHTTP Problem in MX (not 4 or 5)


 What's the error its throwing?


 -Original Message-
 From: James Smith [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 13, 2002 4:32 AM
 To: CF-Talk
 Subject: CFHTTP Problem in MX (not 4 or 5)

 Under CF4 and 5 the following block of code returned a query result set as
 it should.

 cfhttp url=https://www.domain.com/file.csv;
 username=user
 password=pass
 method=GET
 name=FetchCSV
 columns=Domain,Reg,Renewal
 delimiter=,
 textqualifier=
 /cfhttp

 Unforrtunately the returned csv looks like the following:

 Total Domains,29
 Domain Name,Renewal Date,Registration Date
 domain1.com,01-01-2001,01-01-2003

 etc...
 The problem is that the first row has only 2 columns so the cfhttp tag
 throws an error because I have listed three column names.

 Both CF4 and CF5 ignored this and worked just fine but CFMX throws an
error
 and refuses to process the data. I have NO control over the format of the
 CSV file.

 HELP! Does anyone have any solutions to this problem? Going back to CF5 is
 not an option. I do not need the first two rows if there is a way to
ignore
 them as I know the column names and I can count the number of rows to get
a
 total if that helps.

 --
 Jay
 [EMAIL PROTECTED]

 Computer games don't affect kids, I mean if Pac Man affected us as kids,
 we'd all be running around in darkened rooms, munching pills and listening
 to repetitive music...



 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP Problem in MX (not 4 or 5)

2002-08-13 Thread todd

Sounds like you're going to have to retrieve it via CFHTTP and parse it 
manually via variable blob instead of taking the CFHTTP attributes 
shortcut.

~Todd

On Tue, 13 Aug 2002, James Smith wrote:

 The exact error is Incorrect number of columns in row. caused by that
 short first row.
 
 --
 Jay
 [EMAIL PROTECTED]
 
 Computer games don't affect kids, I mean if Pac Man affected us as kids,
 we'd all be running around in darkened rooms, munching pills and listening
 to repetitive music...
 
 - Original Message -
 From: Stacy Young [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, August 13, 2002 12:57 PM
 Subject: RE: CFHTTP Problem in MX (not 4 or 5)
 
 
  What's the error its throwing?
 
 
  -Original Message-
  From: James Smith [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, August 13, 2002 4:32 AM
  To: CF-Talk
  Subject: CFHTTP Problem in MX (not 4 or 5)
 
  Under CF4 and 5 the following block of code returned a query result set as
  it should.
 
  cfhttp url=https://www.domain.com/file.csv;
  username=user
  password=pass
  method=GET
  name=FetchCSV
  columns=Domain,Reg,Renewal
  delimiter=,
  textqualifier=
  /cfhttp
 
  Unforrtunately the returned csv looks like the following:
 
  Total Domains,29
  Domain Name,Renewal Date,Registration Date
  domain1.com,01-01-2001,01-01-2003
 
  etc...
  The problem is that the first row has only 2 columns so the cfhttp tag
  throws an error because I have listed three column names.
 
  Both CF4 and CF5 ignored this and worked just fine but CFMX throws an
 error
  and refuses to process the data. I have NO control over the format of the
  CSV file.
 
  HELP! Does anyone have any solutions to this problem? Going back to CF5 is
  not an option. I do not need the first two rows if there is a way to
 ignore
  them as I know the column names and I can count the number of rows to get
 a
  total if that helps.
 
  --
  Jay
  [EMAIL PROTECTED]
 
  Computer games don't affect kids, I mean if Pac Man affected us as kids,
  we'd all be running around in darkened rooms, munching pills and listening
  to repetitive music...
 
 
 
  
 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP Problem in MX (not 4 or 5)

2002-08-13 Thread James Smith

That is what I figured, just wondered if there was an easy work around
instead.

--
Jay
[EMAIL PROTECTED]

Computer games don't affect kids, I mean if Pac Man affected us as kids,
we'd all be running around in darkened rooms, munching pills and listening
to repetitive music...

- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, August 13, 2002 4:20 PM
Subject: Re: CFHTTP Problem in MX (not 4 or 5)


 Sounds like you're going to have to retrieve it via CFHTTP and parse it
 manually via variable blob instead of taking the CFHTTP attributes
 shortcut.

 ~Todd

 On Tue, 13 Aug 2002, James Smith wrote:

  The exact error is Incorrect number of columns in row. caused by that
  short first row.
 
  --
  Jay
  [EMAIL PROTECTED]
 
  Computer games don't affect kids, I mean if Pac Man affected us as
kids,
  we'd all be running around in darkened rooms, munching pills and
listening
  to repetitive music...
 
  - Original Message -
  From: Stacy Young [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, August 13, 2002 12:57 PM
  Subject: RE: CFHTTP Problem in MX (not 4 or 5)
 
 
   What's the error its throwing?
  
  
   -Original Message-
   From: James Smith [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, August 13, 2002 4:32 AM
   To: CF-Talk
   Subject: CFHTTP Problem in MX (not 4 or 5)
  
   Under CF4 and 5 the following block of code returned a query result
set as
   it should.
  
   cfhttp url=https://www.domain.com/file.csv;
   username=user
   password=pass
   method=GET
   name=FetchCSV
   columns=Domain,Reg,Renewal
   delimiter=,
   textqualifier=
   /cfhttp
  
   Unforrtunately the returned csv looks like the following:
  
   Total Domains,29
   Domain Name,Renewal Date,Registration Date
   domain1.com,01-01-2001,01-01-2003
  
   etc...
   The problem is that the first row has only 2 columns so the cfhttp tag
   throws an error because I have listed three column names.
  
   Both CF4 and CF5 ignored this and worked just fine but CFMX throws an
  error
   and refuses to process the data. I have NO control over the format of
the
   CSV file.
  
   HELP! Does anyone have any solutions to this problem? Going back to
CF5 is
   not an option. I do not need the first two rows if there is a way to
  ignore
   them as I know the column names and I can count the number of rows to
get
  a
   total if that helps.
  
   --
   Jay
   [EMAIL PROTECTED]
  
   Computer games don't affect kids, I mean if Pac Man affected us as
kids,
   we'd all be running around in darkened rooms, munching pills and
listening
   to repetitive music...
  
  
  
  
 
 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFHTTP problem

2001-12-03 Thread Don Vawter

I am attempting to use cfhttp to automate my login to another site.

The login action page is checklogin.asp.   If  I cfhttp to that page using
port 443 and method of post
with appropriate form fields as cfhttpparam  I get a connection error

cfhttp url=https://secure.findwhat.com/accountmanagement/checklogin.asp;
method=POST port=443 resolveurl=true useragent=Mozilla/4.0
(compatible; MSIE 5.5; Windows NT 5.0)  timeout=30
cfhttpparam name=user_name type=FORMFIELD
value=#attributes.username#
cfhttpparam name=password type=FORMFIELD value=#attributes.password#
/cfhttp

First Question. Why do I get a connection error. If i go to that page
directly in the browser it just redirects me to the login page (as I would
expect since the form wasnt submitted). Increasing the timeout doesnt help
and I have verified that the attributes are correct.

I can work around this by grabbing the login form(login.asp not
checklogin.asp)  with a cfhttp (GET) , populate the form fields
programatically and add js to autosubmit the form from the onloadmethod.
This logs me in but of course this is only good in an interactive setting
because the login doesn't occur until the page is served.

My goal is to login and then move to another page within the site and grab
that page via cfhttp.

Any suggestions.



~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Strange CFHTTP Problem

2001-07-12 Thread Dave Watts

 I've got a strange problem going on here with using cfhttp tag.
 
 Environment is NT4.0 IIS4 CF4.51 (Allow anon users disabled - 
 Windows Challenge/Response) I've also tried on Win2k IIS5 with 
 same problem arising.
 
 I keep getting an Access denied message (cfhttp.filecontent) 
 and was wondering what exact permissions settings I should have 
 to fix this. I've tried allowing access to the relevant directories 
 and even changed the user under which CF Server runs
 
 I've already tried passing valid NT account details in the username 
 and password attributes of the tag. No proxy is involved here as 
 the cfhttp is calling a script residing on the same site and server. 
 CFServer is running under the system account.

CFHTTP can't be used to retrieve pages that require NTLM authentication
(Windows Challenge/Response).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Strange CFHTTP Problem

2001-07-12 Thread Dylan Bromby

if you know the login/password, can't you use:

http://{login}:{password}@{URL}

in the URL attribute?


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 8:55 PM
To: CF-Talk
Subject: RE: Strange CFHTTP Problem


 I've got a strange problem going on here with using cfhttp tag.

 Environment is NT4.0 IIS4 CF4.51 (Allow anon users disabled -
 Windows Challenge/Response) I've also tried on Win2k IIS5 with
 same problem arising.

 I keep getting an Access denied message (cfhttp.filecontent)
 and was wondering what exact permissions settings I should have
 to fix this. I've tried allowing access to the relevant directories
 and even changed the user under which CF Server runs

 I've already tried passing valid NT account details in the username
 and password attributes of the tag. No proxy is involved here as
 the cfhttp is calling a script residing on the same site and server.
 CFServer is running under the system account.

CFHTTP can't be used to retrieve pages that require NTLM authentication
(Windows Challenge/Response).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Strange CFHTTP Problem

2001-07-12 Thread Dave Watts

 if you know the login/password, can't you use:
 
   http://{login}:{password}@{URL}
 
 in the URL attribute?

That won't work using CFHTTP against a URL secured with NTLM Authentication.
CFHTTP only supports Basic Authentication in CF 4.5.1 and higher. Older
versions of CFHTTP on Windows supported NTLM Authentication, because they
used the Microsoft internet client libraries - but those had their own
problems. For 4.5, Allaire wrote all of the HTTP code from scratch,
essentially.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Strange CFHTTP Problem -- Appeal to CF Guru's

2001-05-29 Thread Calvin Moree

It applears that CFHTTP is not retrieving javascript from a page, i.e., code
between the curly brackets {} is mysteriously missing.  The source with and
without CFHTTP is shown below:
 
I am using CFHTTP (CF5) to grab a page but receive the following script
error:
 
pMicrosoft JScript runtime /font font face=Arial size=2error
'800a138f'/font
p
font face=Arial size=2'exec(...).0' is not an object/font
p
font face=Arial size=2/static_top_menus.inc/fontfont face=Arial
size=2, line 72/font 
 
I am able to retrieve the file fine in my browser.  I then viewed the source
for both attempts and found that
the CFHTTP retrieved snippet looked like this:
 
function highlighted(menu, image){}
 function SwapImageOn(menu){} 
 function SwapImageOff(menu){}
 function TurnSubOn(sectionname) {}
 function TurnSubOff() {}
 function TurnSideSubOn(sectionname) {}
 function TurnSideSubOff() {}
 
  function windowLoaded() {}
 
 
 
While the same snippet loaded by the browser looked like this:
 

/* 
 * ROLLOVER FUNCTIONS and PAGE IDENTIFIERS
 ** */ 
function highlighted(menu, image) {
  var myString = new String(menu);
  if ((myString.indexOf(menu) == 0  image == (nav1_ + nav1)) ||
(myString.indexOf(side) == 0  image == (sidenav2_ + nav2))) return
true;
  else return false;
}
function SwapImageOn(menu) {
  active_image = menu;
  var image_name = eval(menu);
  var source_file = /images/+image_name+_on.gif;
  //alert(image_name);
  if (document.layers) {
   document.layers[menu+div].document.images[image_name].src =
source_file;
 //alert(document.layers[menu+div].document.images[image_name].src);
  }  else {
   document.images[image_name].src = source_file;  
 //alert('source_file');
  }
}
function SwapImageOff(menu) {
  if (menu == null) {
if (active_image) {
   var image_name = eval(active_image);
   if (! highlighted(active_image, image_name)) {
   var source_file = /images/+image_name+.gif;
   if (document.layers)
document.layers[active_image+div].document.images[image_name].src =
source_file
 else document.images[image_name].src = source_file;
   active_sub_image = null;
   }
 }
  } else {
var image_name = eval(menu);
 if (! highlighted(menu, image_name)) {
var source_file = /images/+image_name+.gif;
document.images[image_name].src = source_file;
 }
  }
}
function TurnSubOn(sectionname) {
  active_sub_div = sectionname;
  if (document.layers) {
document.layers[sectionname+subsdiv].visibility = visible;
  } else if (document.all) {
eval(sectionname+subsdiv).style.visibility = visible;
  }
} 
function TurnSubOff() {
//turn off the active_sub_div
  if (active_sub_div) {
if (document.layers) {
   document.layers[active_sub_div+subsdiv].visibility = hidden;
 } else if (document.all) {
  eval(active_sub_div+subsdiv).style.visibility = hidden;
 }
active_sub_div = null;
  }
}
function TurnSideSubOn(sectionname) {
  active_sub_div = sectionname;
  if (document.layers) {
if (document.layers[perm_side_sub]!=null)
   document.layers[perm_side_sub].visibility = hidden;
document.layers[sectionname+subsdiv].visibility = visible;
  } else if (document.all) {
if (document.all[perm_side_sub] != null) 
   eval(perm_side_sub).style.visibility = hidden;
eval(sectionname+subsdiv).style.visibility = visible;
  }
} 
function TurnSideSubOff() {
//turn off the active_sub_div
  if (active_sub_div) {
if (document.layers) {
   document.layers[active_sub_div+subsdiv].visibility = hidden;
   if (document.layers[perm_side_sub]!=null)
 document.layers[perm_side_sub].visibility = visible;
 } else if (document.all) {
  eval(active_sub_div+subsdiv).style.visibility = hidden;
   if (document.all[perm_side_sub] != null) 
 eval(perm_side_sub).style.visibility = visible;
 }
active_sub_div = null;
  } else {
if (document.layers  document.layers[perm_side_sub]!=null)
 document.layers[perm_side_sub].visibility = visible;
 else if (document.all[perm_side_sub] != null) 
 eval(perm_side_sub).style.visibility = visible;
  }
}

 

Seems as though the javascript was somehow deleted from the CFHTTP'd file.
Anyone have any ideas.

Any help would be GREATLY appreciated,

Calvin



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Strange CFHTTP Problem -- Appeal to CF Guru's

2001-05-29 Thread Dave Watts

 It applears that CFHTTP is not retrieving javascript from a 
 page, i.e., code between the curly brackets {} is mysteriously 
 missing. The source with and without CFHTTP is shown below:
  
 I am using CFHTTP (CF5) to grab a page but receive the 
 following script error:
  
 ... 
  
 I am able to retrieve the file fine in my browser. I then 
 viewed the source for both attempts and found that the CFHTTP 
 retrieved snippet looked like this...

My guess is that the page you're retrieving is being generated with a
server-side CGI program, which may be generating different output depending
on which browser is used to request the page. Are you setting the USERAGENT
property of your CFHTTP tag to match IE (which is my guess as to the browser
which would use the JavaScript in question)?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Strange CFHTTP Problem

2001-04-20 Thread cf_talk

Hi all,

I've got a strange problem going on here with using cfhttp tag.

Environment is NT4.0 IIS4 CF4.51 (Allow anon users disabled - Windows
Challenge/Response) I've also tried on Win2k IIS5 with same problem
arising.

I keep getting an "Access denied" message (cfhttp.filecontent) and was
wondering what exact permissions settings I should have to fix this.
I've tried allowing access to the relevant directories and even changed
the user under which CF Server runs

I've already tried passing valid NT account details in the username and
password attributes of the tag. No proxy is involved here as the cfhttp
is calling a script residing on the same site and server. CFServer is
running under the system account.

Any ideas or suggestions most welcome.

Dave

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP problem

2001-04-11 Thread Aaron Redalen

A thousand apologies.  I was not, in fact, 4.5.1 SP2.  Service pack
installed--problem solved.

Aaron C. Redalen, MSLS
Computer Specialist
National Institute of Standards and Technology
[EMAIL PROTECTED]


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Cfhttp problem / Chatspace

2001-03-22 Thread Al Musella, DPM

   I run a chatspace chat server on my website.  I want to put a notice on 
all of the cold fusion pages on the site when someone is in the chat room.
The chatspace server has a built in webserver  on port 8000 which will let 
you run a page that says how many people are in the chatroom.

For example, if you go to:
http://208.206.10.16:8000/braintumorusers.html

It will either say "Chatspace" if nobody is in the chat room, or have a 
number that says how many people are currently in the room.

I figured I could use CFHTTP to read that page, look for how many people 
are in the room, and then  insert a message in my Cold fusion pages that 
people are in the room if there are any..
   BUT
  I can't get CFHTTP to work..
  If I try:
cfhttp url="http://208.206.10.16:8000/braintumorusers.html" 
method="GET"  resolveurl="false"
/cfhttp
  I get a connection error.

IF I try:
cfhttp url="http://208.206.10.16/braintumorusers.html" method="GET"  port 
= "8000" resolveurl="false"
/cfhttp

  The page redirects to the chat page itself.
has anyone ever tried this with chatspace?
Thanks
Al Musella, DPM






~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP Problem

2001-03-13 Thread John McCosker

 Here is the problem:

 On another dev server (this one running IIS 5 and CF 4.5.1 SP2) the CFHTTP
 throws an error indicating "the file is not in ASCII text format and
cannot
 be rendered" right after the POST operation.  Any ideas?


I'm experiencing exactly the same problem, I'm getting the same error
message.

If you solved this could you let me know how.

Would be eternally gratefull.

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: 10 March 2001 20:49
To: CF-Talk
Subject: RE: CFHTTP Problem


 On our production server and dev server (both running Apache and CF 4.5.1
 SP2) I call an application on an external server via CFHTTP with POST as
 the method and one form variable that contains XML.  I get the results
 back and take care of them accordingly. No problems.

 Here is the problem:

 On another dev server (this one running IIS 5 and CF 4.5.1 SP2) the CFHTTP
 throws an error indicating "the file is not in ASCII text format and
cannot
 be rendered" right after the POST operation.  Any ideas?

Are you sure the IIS machine is 4.5.1 SP2? It sounds like an issue that was
fixed in 4.5.1

I had the same problem a while back on a 4.0.1 machine, so I just switched
to the 4.5.1 machine and it worked fine

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP Problem

2001-03-13 Thread Bud

On 3/13/01, John McCosker penned:
I'm experiencing exactly the same problem, I'm getting the same error
message.

If you solved this could you let me know how.

Would be eternally gratefull.

Like Philip said, I thought this was something that was fixed in one 
of the service packs. Although I never had the problem with 4.0x. CF 
would think the page wasn't text if the header was malformed. The 
workaround was to use the "file" parameter in the cfhttp tag and 
write the cfhttp.filecontent to a file and read that.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFHTTP Problem

2001-03-10 Thread Kurt Ward

Maybe you guys can help me out.

On our production server and dev server (both running Apache and CF 4.5.1
SP2)I
call an application on an external server via CFHTTP with POST as the method
and one
form variable that contains XML.  I get the results back and take
care of them accordingly. No problems.

Here is the problem:

On another dev server (this one running IIS 5 and CF 4.5.1 SP2) the CFHTTP
throws
an error indicating "the file is not in ASCII text format and cannot be
rendered"
right after the POST operation.  Any ideas?

Kurt


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP Problem

2001-03-10 Thread Philip Arnold - ASP

 On our production server and dev server (both running Apache and CF 4.5.1
 SP2) I call an application on an external server via CFHTTP with POST as
 the method and one form variable that contains XML.  I get the results
 back and take care of them accordingly. No problems.

 Here is the problem:

 On another dev server (this one running IIS 5 and CF 4.5.1 SP2) the CFHTTP
 throws an error indicating "the file is not in ASCII text format and
cannot
 be rendered" right after the POST operation.  Any ideas?

Are you sure the IIS machine is 4.5.1 SP2? It sounds like an issue that was
fixed in 4.5.1

I had the same problem a while back on a 4.0.1 machine, so I just switched
to the 4.5.1 machine and it worked fine

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Really wierd CFHTTP problem

2000-12-06 Thread James Sleeman

Hi all,
I have encountered some severe strangeness with CFHTTP.  I have a site
spilt over two servers - a secure server (our own) and a non-secure server
(the clients).  The secure server communicated to a password protected
area on the insecure site via CFHTTP, to do some database setup tasks and
things.  The password protection was implemented in CF so the username and
password were just sent as POST variables, like they would do in a form. 

All worked well.

Then for reasons not important the security I wrote in CF was disabled,
and directory security was enabled (standard HTTP authentication).  I made
the appropriate changes to the CFHTTP calls, namely adding USERNAME="..."
PASSWORD="..." attributes.  CFHTTP suthenticated correctly, shown by the
fact that the filecontent was output from the protected area, but it
wasn't working correctly.

After some serious bug hunting, I found that the contents of ALL FORM
FIELDS were being doubled !  So that "blah" became "blah,blah".  I
thought, oh I must be doing something wierd somewhere, this can't be
right.  So I put my checking code (which just output all the form fields
supplied) as the very first code in the appropriate application.cfm. 
Unbelievably, they were very definatly doubled, coming into the
application.cfm.

To cut a long story short, after much hair pulling we removed the security
completely and just restricted the IP addresses into that section of the
website, it again works well.

Anybody seen this sort of thing before ?

---
James Sleeman
[EMAIL PROTECTED] (home)
[EMAIL PROTECTED] (work)



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Web cam and CFHTTP problem

2000-12-04 Thread Michael Thomas

You could throw it inside an IFRAME, Inline frame. They are treated as 
part of the HTML flow but you can additionally use CSS styles to position  
control all aspects of how they are rendered.

Contrary to what some people said on this list a while back IFRAME's are 
supported by netscape 6. They are also supported by IE 4.0+  are part of 
the W3C HTML 4.0.1 spec. Basically they or ILAYER's are supported by any 
browser that can render CSS 1.0 styles.

Im not sure if you'd want to put these in an ILAYER due to the dimensions 
your talking about but you can nest an IFRAME inside of an ILAYER with the 
same exact values to pull off a cross browser effect that will work for all 
browsers. Basically the use of this can best be explained like this: If they 
support ILAYER's (Netscape 4.7 down) then they dont support IFRAME's  the 
IFRAME will be ignored. If they dont support ILAYER's (anything besides 
netscape 4.7 down) then they do support IFRAME's  the ILAYER tags will be 
ignored.

Heres the syntax:

ILAYER
IFRAME
You dont support IFRAME's or ILAYER's. Upgrade your browser.
/IFRAME
/ILAYER

To use either one of them try the code below:

ILAYER SRC="http://10.10.10.8/view/view.shtml
paramskip=yesconf_Layout_BGColorEnabled=y" STYLE="position:absolute; 
top:140; left:50; border:thin outset #00;"

IFRAME SRC="http://10.10.10.8/view/view.shtml
paramskip=yesconf_Layout_BGColorEnabled=y" STYLE="position:absolute; 
top:140; left:50; border:thin outset #00;"

Those are just a couple attributes  styles to get you started. There are 
many many different ways to render  control the way they are presented. Try 
playing with them, perhaps they are your answer.

Sincerely,
Mike T. Lakes

From: "Karenina" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Re: Web cam and CFHTTP problem
Date: Mon, 04 Dec 2000 14:04:26 +0700

Yes,  the axis cam has a built in web server (and assigned ip number as
10.10.10.8)

We could call the live video using this URL parameter in our browser:
http://10.10.10.8/view/view.shtml?paramskip=yesconf_Layout_BGColorEnabled=y
es... etc
(in one window)

The problem was : the manager want the live video to be displayed right at
the corner of the first page of my intranet index page.
(put the video window together with others information in the first page in
the index.cfm )


I have tried cfhttp and cfinclude to capture the video URL page, but it
didn't work.

Any help will be highly appreciated,

Karenina


- Original Message -
From: Nick McClure
To: CF-Talk
Sent: Monday, December 04, 2000 11:16 AM
Subject: Re: Web cam and CFHTTP problem


I think you are right, but If I am not mistaken this camera is giving
images.

The axis cam has a built in web server that will send a live video feed or
still images across the network. I would use that for the video.

At 11:01 PM 12/3/2000 -0800, you wrote:
 #cfhttp.filecontent# isn't it? not #cfhttp.content#
 
 - Original Message -
 From: "Nick McClure" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Sunday, December 03, 2000 7:32 PM
 Subject: Re: Web cam and CFHTTP problem
 
 
   Sorry, don't forget the http://
  
   At 10:25 PM 12/3/2000 -0500, you wrote:
   I would just use a good old image tag
   
   img src="10.10.10.8/img.jpg"
   
   
   At 10:14 AM 12/4/2000 +0700, you wrote:
Hi,

 We have a so called "company intranet portal" (server :
 10.10.10.1).
 Recently my company bought axis web cam (from www.axis.com)  
and
 we
assign new IP address (10.10.10.8) to the web cam.
 The problem was how to put the web cam screen (as if 
cfinclude)
on
 the
company portal first page without using frame? I have tried to use
 CFHTTP
and fails to get
the cfhttp.content  ?

Thanks




   
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Web cam and CFHTTP problem

2000-12-04 Thread Nick McClure

What Web Server software is your CF Server running?

At 02:04 PM 12/4/2000 +0700, you wrote:
Yes,  the axis cam has a built in web server (and assigned ip number as
10.10.10.8)

We could call the live video using this URL parameter in our browser:
http://10.10.10.8/view/view.shtml?paramskip=yesconf_Layout_BGColorEnabled=y
es... etc
(in one window)

The problem was : the manager want the live video to be displayed right at
the corner of the first page of my intranet index page.
(put the video window together with others information in the first page in
the index.cfm )


I have tried cfhttp and cfinclude to capture the video URL page, but it
didn't work.

Any help will be highly appreciated,

Karenina


- Original Message -
From: Nick McClure
To: CF-Talk
Sent: Monday, December 04, 2000 11:16 AM
Subject: Re: Web cam and CFHTTP problem


I think you are right, but If I am not mistaken this camera is giving
images.

The axis cam has a built in web server that will send a live video feed or
still images across the network. I would use that for the video.

At 11:01 PM 12/3/2000 -0800, you wrote:
 #cfhttp.filecontent# isn't it? not #cfhttp.content#
 
 - Original Message -
 From: "Nick McClure" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Sunday, December 03, 2000 7:32 PM
 Subject: Re: Web cam and CFHTTP problem
 
 
   Sorry, don't forget the http://
  
   At 10:25 PM 12/3/2000 -0500, you wrote:
   I would just use a good old image tag
   
   img src="10.10.10.8/img.jpg"
   
   
   At 10:14 AM 12/4/2000 +0700, you wrote:
Hi,

 We have a so called "company intranet portal" (server :
 10.10.10.1).
 Recently my company bought axis web cam (from www.axis.com)  and
 we
assign new IP address (10.10.10.8) to the web cam.
 The problem was how to put the web cam screen (as if cfinclude)
on
 the
company portal first page without using frame? I have tried to use
 CFHTTP
and fails to get
the cfhttp.content  ?

Thanks




   
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Web cam and CFHTTP problem

2000-12-03 Thread Nick McClure

Sorry, don't forget the http://

At 10:25 PM 12/3/2000 -0500, you wrote:
I would just use a good old image tag

img src="10.10.10.8/img.jpg"


At 10:14 AM 12/4/2000 +0700, you wrote:
 Hi,
 
  We have a so called "company intranet portal" (server : 10.10.10.1).
  Recently my company bought axis web cam (from www.axis.com)  and we
 assign new IP address (10.10.10.8) to the web cam.
  The problem was how to put the web cam screen (as if cfinclude) on the
 company portal first page without using frame? I have tried to use CFHTTP
 and fails to get
 the cfhttp.content  ?
 
 Thanks
 
 
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Web cam and CFHTTP problem

2000-12-03 Thread JoshMEagle

#cfhttp.filecontent# isn't it? not #cfhttp.content#

- Original Message -
From: "Nick McClure" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Sunday, December 03, 2000 7:32 PM
Subject: Re: Web cam and CFHTTP problem


 Sorry, don't forget the http://

 At 10:25 PM 12/3/2000 -0500, you wrote:
 I would just use a good old image tag
 
 img src="10.10.10.8/img.jpg"
 
 
 At 10:14 AM 12/4/2000 +0700, you wrote:
  Hi,
  
   We have a so called "company intranet portal" (server :
10.10.10.1).
   Recently my company bought axis web cam (from www.axis.com)  and
we
  assign new IP address (10.10.10.8) to the web cam.
   The problem was how to put the web cam screen (as if cfinclude) on
the
  company portal first page without using frame? I have tried to use
CFHTTP
  and fails to get
  the cfhttp.content  ?
  
  Thanks
  
  
  
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Web cam and CFHTTP problem

2000-12-03 Thread Nick McClure

I think you are right, but If I am not mistaken this camera is giving images.

The axis cam has a built in web server that will send a live video feed or 
still images across the network. I would use that for the video.

At 11:01 PM 12/3/2000 -0800, you wrote:
#cfhttp.filecontent# isn't it? not #cfhttp.content#

- Original Message -
From: "Nick McClure" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Sunday, December 03, 2000 7:32 PM
Subject: Re: Web cam and CFHTTP problem


  Sorry, don't forget the http://
 
  At 10:25 PM 12/3/2000 -0500, you wrote:
  I would just use a good old image tag
  
  img src="10.10.10.8/img.jpg"
  
  
  At 10:14 AM 12/4/2000 +0700, you wrote:
   Hi,
   
We have a so called "company intranet portal" (server :
10.10.10.1).
Recently my company bought axis web cam (from www.axis.com)  and
we
   assign new IP address (10.10.10.8) to the web cam.
The problem was how to put the web cam screen (as if cfinclude) on
the
   company portal first page without using frame? I have tried to use
CFHTTP
   and fails to get
   the cfhttp.content  ?
   
   Thanks
   
   
   
   
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Web cam and CFHTTP problem

2000-12-03 Thread Karenina

Yes,  the axis cam has a built in web server (and assigned ip number as
10.10.10.8)

We could call the live video using this URL parameter in our browser:
http://10.10.10.8/view/view.shtml?paramskip=yesconf_Layout_BGColorEnabled=y
es... etc
(in one window)

The problem was : the manager want the live video to be displayed right at
the corner of the first page of my intranet index page.
(put the video window together with others information in the first page in
the index.cfm )


I have tried cfhttp and cfinclude to capture the video URL page, but it
didn't work.

Any help will be highly appreciated,

Karenina


- Original Message -
From: Nick McClure
To: CF-Talk
Sent: Monday, December 04, 2000 11:16 AM
Subject: Re: Web cam and CFHTTP problem


I think you are right, but If I am not mistaken this camera is giving
images.

The axis cam has a built in web server that will send a live video feed or
still images across the network. I would use that for the video.

At 11:01 PM 12/3/2000 -0800, you wrote:
#cfhttp.filecontent# isn't it? not #cfhttp.content#

- Original Message -
From: "Nick McClure" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Sunday, December 03, 2000 7:32 PM
Subject: Re: Web cam and CFHTTP problem


  Sorry, don't forget the http://
 
  At 10:25 PM 12/3/2000 -0500, you wrote:
  I would just use a good old image tag
  
  img src="10.10.10.8/img.jpg"
  
  
  At 10:14 AM 12/4/2000 +0700, you wrote:
   Hi,
   
We have a so called "company intranet portal" (server :
10.10.10.1).
Recently my company bought axis web cam (from www.axis.com)  and
we
   assign new IP address (10.10.10.8) to the web cam.
The problem was how to put the web cam screen (as if cfinclude)
on
the
   company portal first page without using frame? I have tried to use
CFHTTP
   and fails to get
   the cfhttp.content  ?
   
   Thanks
   
   
   
   
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



cfhttp problem

2000-10-25 Thread Edward Peloke

Hello, I am unable to use cfhttp.  For a while, I was getting a "Connection
Failure" error and so I read that if I added a / to the end it might work.
Now I am getting the ie "This page cannot be displayed" when I run it
locally,  when I put it on our cf server it would just run and run so I
added the timeout and get the "Connection Failure" again.  Any suggestions?

THanks,
Eddie

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"

html
head
titleUntitled/title
/head

body


cfhttp url="http://www.altavista.com/" method="GET" timeout=5
resolveurl="false"
cfoutput#CFHTTP.FileContent#/cfoutput
/cfhttp


/body
/html



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



cfhttp problem

2000-08-02 Thread S R

Hi Everyone,

I am having trouble with cfhttp. I am trying to execute a page and the page 
just hangs for about 2 minutes then displays 'connection failure'. Maybe its 
my set up here that is the problem but it does not make any sense to me.

Here is the code:

cfhttp method="get" url="http://www.excite.com" resolveurl="yes"


cfoutput
#CFHTTP.FileContent#
/cfoutput

thanks for your help

Sal

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.