RE: Using CFHTTP to login

2006-11-03 Thread Andrew Tyrone
-Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 7:33 AM To: CF-Talk Subject: Re: Using CFHTTP to login your joking right. The form page is called login.asp.. And the cfhttp call is to login.asp. You really aren't on top

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
I have posted to the same page using cfhttp many and I repeat many times. If I suppose that you perfectly know by experience that an address like /login.aspx is ALWAYS the login form and not the action template in ANY DOT.NET application, then I will admit you are right. But until better

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
The form posts to the login.aspx page, which tells me he is posting to the (same) form page, which is not impossible to do. Indeed, but this does not even has to be the case here. Michael never said that the sample code for the form he gave was extract from the login.aspx page. As you said, the

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
Your Joking really tell me you are joking? If I really was, it would at least have spell it you're, not your, but anyway... So I'll return *your* question: what *you're* smoking? -- ___ REUSE CODE! Use custom tags; See

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
got to be happy hour LOL ;-)) Got to be happy hour for the whole day ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

RE: Using CFHTTP to login

2006-11-03 Thread Andrew Tyrone
-Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 8:14 AM To: CF-Talk Subject: Re: Using CFHTTP to login The form posts to the login.aspx page, which tells me he is posting to the (same) form page, which is not impossible to do

RE: Using CFHTTP to login

2006-11-03 Thread Andrew Tyrone
Your Joking really tell me you are joking? If I really was, it would at least have spell it you're, not your, but anyway... So I'll return *your* question: what *you're* smoking? Come on, Claude! Re-read what you wrote... I think you and Andrew are at the same bar! Andy

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Rick, Happy hour is well and past, *hic* Claude, so you are telling me that if you see a cfhttp call in CF passing the submit button everything is normal. Come on get a grip onb reality man. the problem is as I said, he needs to look at what is being passed to the login script to log the user

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Andrew, I really don't think claude actually saw the post properlly. And if Claude really knew anything, I am using gmail, and when using a web browser I have now spell checker, and being a little under the weather my wits are good, but my fingers can't do the walking as well. Anyway if Claude

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
Michael, Are you able to resolve the url from the server (not your local machine but the server). -Mark -Original Message- From: Michael Nguyen [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 11:08 PM To: CF-Talk Subject: Using CFHTTP to login Hi everyone, I am still

RE: Using CFHTTP to login

2006-11-03 Thread Rick Faircloth
8:26 AM To: CF-Talk Subject: Re: Using CFHTTP to login Rick, Happy hour is well and past, *hic* ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
Claude, so you are telling me that if you see a cfhttp call in CF passing the submit button everything is normal. I never said that. the problem is as I said, he needs to look at what is being passed to the login script to log the user in. What I say now is that you need to look at his code.

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 8:26 AM To: CF-Talk Subject: Re: Using CFHTTP to login Rick, Happy hour is well and past, *hic* ~| Introducing the Fusion

Re: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
The form posts to the login.aspx page, which tells me he is posting to the (same) form page, which is not impossible to do. Indeed, but this does not even has to be the case here. Michael never said that the sample code for the form he gave was extract from the login.aspx page. As you said, the

RE: Using CFHTTP to login

2006-11-03 Thread Rick Faircloth
Under the weather, huh? Sorry, chap... Got a code? (Get it? Hee, hee) Maybe too much code medicine... :o) Rick -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 8:55 AM To: CF-Talk Subject: Re: Using CFHTTP to login nope

Re: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Hi everyone again, Sorry for getting back to you late and for the not very clear question. I think that Claude understands me right. The login.aspx is NOT form page but action page. The html form that I wrote was NOT extract from login.aspx Both html form and cfhttp is to submit to action page

Re: Using CFHTTP to login

2006-11-03 Thread Adrian
Time to expose my woeful ignorance of .net Will .net be rejecting any post that has not come from the same page? Perhaps using the viewstate to authenticate where the post has come from? I have some vague recollection of .net not allowing a form to post to a different action page? Probably

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
Subject: Re: Using CFHTTP to login Hi everyone again, Sorry for getting back to you late and for the not very clear question. I think that Claude understands me right. The login.aspx is NOT form page but action page. The html form that I wrote was NOT extract from login.aspx Both html form

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
he wouold see that the login form that works is called login.aspx, OK, can you just tell me where you see that? and then submits to itself. Supposing it is so, is it a problem? But what Claude didn't see was the fact that the cfhttp was sending the field submit button. So what? Is it

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
I think that Claude understands me right. OK, now that we are on the good tracks, let's see. Could it be the server checking for something in the user browser that you didn't think of? Javascript for instance. (My own login procedure on my systems work this way) Try your login form that works

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Yes, Mark. The login page directs me to a member home page and I did include redirect='yes'. -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:15 AM To: CF-Talk Subject: RE: Using CFHTTP to login Michael, Does the login page do

RE: Using CFHTTP to login

2006-11-03 Thread Andrew Tyrone
Anyway if Claude was smart he wouold see that the login form that works is called login.aspx, and then submits to itself. But what Claude didn't see was the fact that the cfhttp was sending the field submit button. Actually, Claude was smart enough to point out that the form might NOT

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
, 2006 8:50 AM To: CF-Talk Subject: RE: Using CFHTTP to login Yes, Mark. The login page directs me to a member home page and I did include redirect='yes'. -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:15 AM To: CF-Talk Subject: RE: Using

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
The html form that I wrote was NOT extract from login.aspx Both html form and cfhttp is to submit to action page login.aspx but the html does it successfully and the cfhttp does not. Here's what you need to do. Run the form, and examine all of the information sent from the form to the

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:34 AM To: CF-Talk Subject: Re: Using CFHTTP to login I think that Claude understands me right. OK, now that we are on the good tracks, let's see. Could it be the server checking for something in the user browser

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
/ for more information! -Original Message- From: Michael Nguyen [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 10:10 AM To: CF-Talk Subject: RE: Using CFHTTP to login Claude, if I disable cookie then I couldn't login form the login form that works if cookie enabled. I think

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
Yes, Mark. The login page directs me to a member home page and I did include redirect='yes'. Ok, this will work for a redirect in the response header, but what if it is a Javascript redirect (one among many ways to check if JS is enabled)? ColdFusion will not follow. --

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
Any thoughts? Yes, this is basically what you need to do. Fetch the cookies sent when you visit the form, then send those to the action page. I didn't think to ask this earlier, but what are you trying to accomplish, exactly? Are you trying to let your CF app interact with the .NET app, or are

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
cookie scope and your code below would work. I'm going to bet that would work differently in different browsers though. -Mark -Original Message- From: Michael Nguyen [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 9:10 AM To: CF-Talk Subject: RE: Using CFHTTP to login Claude

Re: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
[mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:34 AM To: CF-Talk Subject: Re: Using CFHTTP to login I think that Claude understands me right. OK, now that we are on the good tracks, let's see. Could it be the server checking for something in the user browser that you didn't think

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
When I submit the form (that works) if cookie turned off then it show me exactly as when I cfhttp. Ah ah! Then you must supplie the cookies. At first sight, you're attempt looks correct, except that the cookie must be set by the form page, you are calling the action page in your first attemps,

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
Yep - you are right. In that case you would need to have some advanced knowledge of the landing page - or extract it (ick) from the js. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 9:21 AM To: CF-Talk Subject: Re: Using CFHTTP

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
or extract it (ick) from the js If he has CF_REExtract, this will be just a breeze! ;-) See CF_REextract http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm -- ___ REUSE CODE! Use custom tags; See

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Are you trying to let your CF app interact with the .NET app, or are you trying to log your user into .NET so that later, when that user visits the .NET app directly, that user is logged in? The latter was my task ~|

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
The way I did is use cfhttpparam type=cookie to send cookie information back to the asp.net but it doesn't seem to work. -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 2:25 AM To: CF-Talk Subject: RE: Using CFHTTP to login Michael

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
/ for more information! -Original Message- From: Michael Nguyen [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 10:51 AM To: CF-Talk Subject: RE: Using CFHTTP to login Are you trying to let your CF app interact with the .NET app, or are you trying to log your user into .NET

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
The latter was my task In that case, you also need to get that authentication token to your client, in addition to fetching it from the .NET server via CFHTTP. Are the servers in the same domain? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest

Re: Using CFHTTP to login

2006-11-03 Thread Jason Troy
Michael, I know you've received lots of suggestions already, but I want to backup a little bit and try to unerstand what you're trying to do. I've read the thread history and I think there is perhaps a misunderstanding somewhere. What I understand is that you have an aspx page that you can

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
I think there is perhaps a misunderstanding somewhere. Don't worry, the misunderstanding is far in the southern hemisphere, and must be asleep by now ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
The way I did is use cfhttpparam type=cookie to send cookie information back to the asp.net but it doesn't seem to work. Yeah, but as I told you, unless the code you copied on your message is not correct, you should get the cookies from the form page, not the action page. --

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
member home page when using cfhttp. -Original Message- From: Jason Troy [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:56 AM To: CF-Talk Subject: Re: Using CFHTTP to login Michael, I know you've received lots of suggestions already, but I want to backup a little bit

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
redirects user to the member home page in asp.net application. I make another login2.cfm which will submit to itself. In that CF will log the user in CF app (that's no problem) and also makes a http request to asp.net(using cfhttp) to also log user into asp.net application. The thing is the login1

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Hi all, One thing that I've noticed and think that it may be or may not be related to the problem: After normal successful logged in into asp.net using html form, the cookie has one more name-value: ..ASPXAUTH=9857AD003ACCC01 which we didn't have before logged in.

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Micahel, A question for you. You say you have been given the task of a single sign, yet they are 2 applications running .Net and CF. What about the .Net Application? Now are these machines, or Applications going to grow into more applications. Then the best solution would be to use Active

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
Sorry if something is unclear. Well, it is getting complex indeed. If the login action has been especially designed to block any robot intrusion, you're not finished with your project. One thing I'd like to know: what is the feedback you are getting from the login when it fails? I mean from

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
to login form with an error message: Login failed! When using login1.cfm (which is working) then after submitting, the member home page is shown. If I type in incorrect details then it redirects to login form say login.aspx with message Login Failed. When using CFHTTP and dump cfhttp.filecontent

Using CFHTTP to login

2006-11-02 Thread Michael Nguyen
Hi everyone, I am still struggling with using cfhttp to log in into an ASP.NET app. The weird thing is when I used the normal html form (see bellow) then I could log in successfully: form method=post action=http://www.mycompany.com/Login.aspx; name=form1 input name=CompanyCode type

Using cfhttp to login

2006-11-02 Thread Michael Nguyen
Hi everyone, I am still struggling with using cfhttp to log in into an ASP.NET app. The weird thing is when I used the normal html form (see bellow) then I could log in successfully: form method=post action=http://www.mycompany.com/Login.aspx; name=form1 input name=CompanyCode type=hidden

Problem with using cfhttp to login to asp .net

2006-11-01 Thread Michael Nguyen
I'm having a problem with login to a asp.net. Firstly, I use cfhttp to make a request to the login page to get cookie info (ASP.NET_SessionId) Secondly, using cfhttp to login (passing ASP.NET_SessionId in cfhttpparam type=cookie and my login details) Finally, I use cfhttp to request

using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Andy Matthews
I'm testing something for a local contest. The details say that you can submit as many times as you like so I'm trying out the old cfhttp the form variables to their processing page. When I run it once it works just fine, and appears to submit successfully. So I bumped it up to 500 and went on

RE: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Snake
Why not just set it to a value that works, and set a schedules task to call this page every minute Snake -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: 26 October 2006 19:37 To: CF-Talk Subject: using cfhttp to submit to a form processing page on another server

RE: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Ian Skinner
I believe you are running against the maximum request time out. A setting on how long a page can be running. This can be adjusted in either the administrator or with the cfapplication... tag. I believe the url parameter is been deprecated in the current version of CF. Another way we got

RE: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Matt Quackenbush
You can also use cfsetting requesttimeout=number of seconds / to adjust the timeout. -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 1:47 PM To: CF-Talk Subject: RE: using cfhttp to submit to a form processing page on another server I

Re: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Aaron Roberson
What state and town are you voting for...? On 10/26/06, Andy Matthews [EMAIL PROTECTED] wrote: I'm testing something for a local contest. The details say that you can submit as many times as you like so I'm trying out the old cfhttp the form variables to their processing page. When I run it

RE: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Ian Skinner
You can also use cfsetting requesttimeout=number of seconds / to adjust the timeout. Ahh yes, that is what I meant, not the cfapplication ... tag. I always get these confused. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | |

RE: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Andy Matthews
--//- -Original Message- From: Aaron Roberson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 2:04 PM To: CF-Talk Subject: Re: using cfhttp to submit to a form processing page on another server What state and town are you voting for...? On 10/26/06, Andy Matthews [EMAIL PROTECTED

RE: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Andy Matthews
] Sent: Thursday, October 26, 2006 1:47 PM To: CF-Talk Subject: RE: using cfhttp to submit to a form processing page on another server I believe you are running against the maximum request time out. A setting on how long a page can be running. This can be adjusted in either the administrator

Using CFHTTP, loading bar?

2006-10-11 Thread Andy Matthews
On this page: http://www.cfmjet.com/airports.cfm You'll see links to several airports. I'm using CFHTTP to load in data from a site that has detailed information on each of these airports. You'll notice that when you click each of the links, it takes between 10 and 20 seconds to even show

Re: Using CFHTTP, loading bar?

2006-10-11 Thread Tom Chiverton
On Wednesday 11 October 2006 14:38, Andy Matthews wrote: notice that when you click each of the links, it takes between 10 and 20 AFAICT the info on each page will change once in a blue moon. Why not cache it (get it once on first request, and save it for a few days) ? -- Tom Chiverton Helping

RE: Using CFHTTP, loading bar?

2006-10-11 Thread Dan G. Switzer, II
Andy, On this page: http://www.cfmjet.com/airports.cfm You'll see links to several airports. I'm using CFHTTP to load in data from a site that has detailed information on each of these airports. You'll notice that when you click each of the links, it takes between 10 and 20 seconds to even show

RE: Using CFHTTP, loading bar?

2006-10-11 Thread Andy Matthews
Subject: Re: Using CFHTTP, loading bar? On Wednesday 11 October 2006 14:38, Andy Matthews wrote: notice that when you click each of the links, it takes between 10 and 20 AFAICT the info on each page will change once in a blue moon. Why not cache it (get it once on first request, and save

Re: Using CFHTTP, loading bar?

2006-10-11 Thread Tom Chiverton
On Wednesday 11 October 2006 15:57, Andy Matthews wrote: If I was going to use caching, you're talking about just writing it to a file on the server and reading from there instead? Or are you talking about caching in a scope? Either really. -- Tom Chiverton Helping to ambassadorially

RE: Using CFHTTP, loading bar?

2006-10-11 Thread Andy Matthews
:35 AM To: CF-Talk Subject: Re: Using CFHTTP, loading bar? On Wednesday 11 October 2006 15:57, Andy Matthews wrote: If I was going to use caching, you're talking about just writing it to a file on the server and reading from there instead? Or are you talking about caching in a scope? Either

RE: Using CFHTTP, loading bar?

2006-10-11 Thread Andy Matthews
: RE: Using CFHTTP, loading bar? Andy, On this page: http://www.cfmjet.com/airports.cfm You'll see links to several airports. I'm using CFHTTP to load in data from a site that has detailed information on each of these airports. You'll notice that when you click each of the links, it takes between

Re: Using CFHTTP, loading bar?

2006-10-11 Thread Jon Clausen
--//- -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 9:36 AM To: CF-Talk Subject: RE: Using CFHTTP, loading bar? Andy, On this page: http://www.cfmjet.com/airports.cfm You'll see links to several airports. I'm using CFHTTP

Re: HTTP 301 redirects using CFHTTP?

2006-08-01 Thread Pete Ruckelshaus
OK, thanks James, that was the shove in the right direction that I needed. In case anyone else is looking for the same answer, here's my test code that works: cfscript qryRedirect = queryNew(oldurl,newurl,varchar,varchar); tmp = queryAddRow(qryRedirect); tmp =

RE: HTTP 301 redirects using CFHTTP?

2006-08-01 Thread Russ
and then have apache or iis rewrite use it... Russ -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 7:45 AM To: CF-Talk Subject: Re: HTTP 301 redirects using CFHTTP? OK, thanks James, that was the shove in the right direction that I

HTTP 301 redirects using CFHTTP?

2006-07-31 Thread Pete Ruckelshaus
I'm rolling out a newly redesigned site and need to implement a bunch of redirects that return an HTTP response code of 301 (Moved Permanently). There will be a database table (loaded into memory) that will have the bad good URL's. Has anyone here done this, specifically the redirect that

Re: HTTP 301 redirects using CFHTTP?

2006-07-31 Thread James Holmes
CFHTTP has no place in this. You need CFHEADER if you are doing it via CF. On 8/1/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote: I'm rolling out a newly redesigned site and need to implement a bunch of redirects that return an HTTP response code of 301 (Moved Permanently). There will be a

Parsing Using CFHTTP

2006-01-04 Thread Claremont, Timothy
I need to grab some content from another page using CFHTTP. How to I display all content between Start Page Content and End Page Content??? I seem to recall a quick and easy way to do this, but it escapes me. ** This email

RE: Parsing Using CFHTTP

2006-01-04 Thread Bobby Hartsfield
, January 04, 2006 10:13 AM To: CF-Talk Subject: Parsing Using CFHTTP I need to grab some content from another page using CFHTTP. How to I display all content between Start Page Content and End Page Content??? I seem to recall a quick and easy way to do this, but it escapes me

Re: Parsing Using CFHTTP

2006-01-04 Thread Claude Schneegans
I seem to recall a quick and easy way to do this, There is one indeed: see CF_REextract here: http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm It will even CFHTTP the file for you. -- ___ REUSE CODE! Use custom tags; See

Re: Parsing Using CFHTTP

2006-01-04 Thread Casey Dougall
Example CFHTTP url=http://www.thefreedictionary.com/phat; method=get /CFHTTP !---Parse the Breakup--- CFSET Start=Find('span class=hw',CFHTTP.FileContent,1) + 17 CFSET End=Find('/span',CFHTTP.FileContent,Start) CFSET Length=End-Start CFSET BreakupText=Mid(CFHTTP.FileContent,Start,Length)

Re: Parsing Using CFHTTP

2006-01-04 Thread Larry Lyons
I need to grab some content from another page using CFHTTP. How to I display all content between Start Page Content and End Page Content??? I seem to recall a quick and easy way to do this, but it escapes me. In a word, RegEx. Without going into long and boring detail you may want

Re: Using CFHTTP to get and save images

2005-10-23 Thread Matt Robertson
I had to ask about this same topic not so long ago. Your problem is rooted in your use of cfhttp, which is incorrect if you are trying to retrieve an image. Here's a working statement: cfhttp url=#theirServer.theirURL# getasbinary=yes path=#myServer.myFullPath#

Using CFHTTP to get and save images

2005-10-21 Thread Steven Carickhoff
I am building an affiliate site for a client. They are trying to resize images provided by vendors. All of the images are pulled into the pages from the vendor's server. All of the tags that I have found will only resize local images. So, I am trying to using CFHTTP to get the images and save

transmitting XML using CFHTTP

2005-09-20 Thread Andy Matthews
I need to transfer some data from our server to another server with a packet of XML. The transfer will send a string of plain text (XML), must be done with an encoding of application/x-www-form-urlencoded and a method of POST. I thought that cfhttp could do it, but I can't find where I can change

RE: transmitting XML using CFHTTP

2005-09-20 Thread Hua Wei
)# / /cfhttp Hope this helps. Hua -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 20, 2005 11:41 AM To: CF-Talk Subject: transmitting XML using CFHTTP I need to transfer some data from our server to another server with a packet of XML. The transfer

RE: transmitting XML using CFHTTP

2005-09-20 Thread Andy Matthews
? !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Hua Wei [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 20, 2005 10:58 AM To: CF-Talk Subject: RE: transmitting XML using CFHTTP Andy, You can use

Using cfhttp to display pdf file

2003-11-18 Thread Tim Do
I'm trying to retrieve a pdf file that is from a virtual directory on the webserver using cfhttp... can anybody tell me what I'm doing wrong?All I'm getting back is something that starts out like this: %PDF-1.2 %£ 6 0 obj /Linearized 1 /O 8 /H [ 997 192 ] /L 11898 /E 9167 /N 2 /T 11661

Re: Using cfhttp to display pdf file

2003-11-18 Thread Dave Carabetta
I'm trying to retrieve a pdf file that is from a virtual directory on the webserver using cfhttp... can anybody tell me what I'm doing wrong?All I'm getting back is something that starts out like this: %PDF-1.2 %£ 6 0 obj /Linearized 1 /O 8 /H [ 997 192 ] /L 11898 /E 9167 /N 2 /T 11661

RE: Using cfhttp to display pdf file

2003-11-18 Thread Tim Do
: Using cfhttp to display pdf file I'm trying to retrieve a pdf file that is from a virtual directory on the webserver using cfhttp... can anybody tell me what I'm doing wrong?All I'm getting back is something that starts out like this: %PDF-1.2 %£ 6 0 obj /Linearized 1 /O 8 /H [ 997 192 ] /L 11898

RE: Using cfhttp to display pdf file

2003-11-18 Thread Dave Carabetta
Thanks Dave, But now I'm getting this error: coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot be converted to strings. OK, I got that error before when I was using getAsBinary on a PDF. Not really sure why I got the error because a PDF is technically a binary file,

RE: Using cfhttp to display pdf file

2003-11-18 Thread Dave Carabetta
Thanks Dave, But now I'm getting this error: coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot be converted to strings. Actually, a quick read of the LiveDocs stuff might solve this. Try putting: cfoutput#toString(cfhttp.fileContent)#/cfoutput when using the

RE: Using cfhttp to display pdf file

2003-11-18 Thread Tim Do
tput#ToString (cfhttp.filecontent)#/cfoutput -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 1:55 PM To: CF-Talk Subject: RE: Using cfhttp to display pdf file Thanks Dave, But now I'm getting this error: coldfusion.runtime.Cast$ComplexByteA

RE: Using cfhttp to display pdf file

2003-11-18 Thread Dave Carabetta
I saw that earlier.. but that didn't work for me either... running out of ideas =( cfhttp url=""> il_200310.pdf https://inview.wng.com/investor/resource/2010/AgingDetail/2010AgingDetail_2 00310.pdf method=GET getAsBinary=yes /cfhttp cfcontent type=application/pdf cfoutput#ToString

RE: Using cfhttp to display pdf file

2003-11-18 Thread Jeff Beer
-Original Message- From: Tim Do [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 5:00 PM To: CF-Talk Subject: RE: Using cfhttp to display pdf file I saw that earlier.. but that didn't work for me either... running out of ideas =( cfhttp url=""> /2010AgingD

RE: Using cfhttp to display pdf file

2003-11-18 Thread Tim Do
- From: Jeff Beer [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 2:42 PM To: CF-Talk Subject: RE: Using cfhttp to display pdf file Are you using cf5?I could not make it work on CF5, but it works like a charm on CFMX (6.1): cfsetting enablecfoutputonly=yes showdebugoutput=no cfhttp

RE: Using cfhttp to access FTP via IE

2003-11-05 Thread Bushy
This is driving me nuts. The problem is my expertise. --Original Message Text--- From: Lewis Sellers Date: Tue, 04 Nov 2003 15:35:45 -0500 Your browser is an HTTP client and an FTP client. If you want to perform FTP operations from CF, you'll have to use CFFTP instead of CFHTTP. Dave Watts,

RE: Using cfhttp to access FTP via IE

2003-11-05 Thread Bushy
, November 04, 2003 12:36 PM To: CF-Talk Subject: RE: Using cfhttp to access FTP via IE Your browser is an HTTP client and an FTP client. If you want to perform FTP operations from CF, you'll have to use CFFTP instead of CFHTTP. Dave Watts, CTO, Fig Leaf Software Like Dave says, HTTP and FTP are fairly

Re: Using cfhttp to access FTP via IE

2003-11-05 Thread Kevin Graeme
framespacing=0 frame src="" name=leftFrame frame src="" name=mainFrame /frameset noframesbody /body/noframes /html -Kevin - Original Message - From: Bushy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 7:01 AM Subject: RE: Using cfhttp

Re: Using cfhttp to access FTP via IE

2003-11-05 Thread Kevin Graeme
text listing instead of the graphical folder presentation. Ah well. -Kevin - Original Message - From: Kevin Graeme [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 8:26 AM Subject: Re: Using cfhttp to access FTP via IE It works in a frameset for me

RE: Using cfhttp to access FTP via IE

2003-11-05 Thread Lewis Sellers
At 01:33 PM 11/4/2003 -0800, you wrote: Read Only?On WinXP it acts just like another explorer window.Drag and drop to ftp. Kinda nice! You're right of course. About 2 seconds after I hit send I thought a mild expletive concerning the phrase read only -- but too late. Was thinking something

RE: Using cfhttp to access FTP via IE

2003-11-05 Thread Dave Watts
Your browser is an HTTP client and an FTP client. If you want to perform FTP operations from CF, you'll have to use CFFTP instead of CFHTTP. This is driving me nuts. The problem is my expertise. I understand. Unfortunately, there's no easy solution to this. You will simply have to learn

Using cfhttp to access FTP via IE

2003-11-04 Thread Bushy
Hi, If I do the following from within IE I can access the server and contents ftp://username:password@IPADDRESS/data But within my app I'm using the following and it doesn't work. Keeps telling me Connection Failure? What am I doing wrong? cfhttp url=""> method=get username=username

Re: Using cfhttp to access FTP via IE

2003-11-04 Thread Jim Campbell
Is there any reason CFFTP wouldn't work for you?Does that fail as well? - Jim Bushy wrote: Hi, If I do the following from within IE I can access the server and contents ftp://username:password@IPADDRESS/data But within my app I'm using the following and it doesn't work. Keeps telling me

Re: Using cfhttp to access FTP via IE

2003-11-04 Thread Charlie Griefer
um...you're trying to use cfhttp to retrieve ftp data. try cfftp maybe? - Original Message - From: Bushy To: CF-Talk Sent: Tuesday, November 04, 2003 12:01 PM Subject: Using cfhttp to access FTP via IE Hi, If I do the following from within IE I can access the server and contents

Re: Using cfhttp to access FTP via IE

2003-11-04 Thread Bushy
Yes cfftp work but I like the idea of being able to drag and drop folders/files from the IE browser when using cfhttp I'm hoping to use frames so I can drag and drop files between frames on different servers. --Original Message Text--- From: Jim Campbell Date: Tue, 04 Nov 2003 13:10:57 -0600

Re: Using cfhttp to access FTP via IE

2003-11-04 Thread Bushy
- From: Bushy To: CF-Talk Sent: Tuesday, November 04, 2003 12:01 PM Subject: Using cfhttp to access FTP via IE Hi, If I do the following from within IE I can access the server and contents ftp://username:password@IPADDRESS/data But within my app I'm using the following and it doesn't work

Re: Using cfhttp to access FTP via IE

2003-11-04 Thread Jim Campbell
a straight FTP call from your code.You don't even need CF for that, unless you want to, say, populate he username/password/FTP location dynamically. - Jim Bushy wrote: Yes cfftp work but I like the idea of being able to drag and drop folders/files from the IE browser when using cfhttp I'm hoping

<    1   2   3   >