Here is my help on the subject for someone else, but maybe can help you:
JM,
you must seperate between the two tasks:
1- first fetch for the page using cfhttp, then output
<cfoutput>#cfhttp.filecontent#</cfoutput>
2- write to another file using CFFILE.
As I see it, you do have a problem of permissions, timeout or inaccessive
file.
what is the output when you're copy-paste the scheduled cf page into IE?
try to get http://iberc.fasturn.com/iberc/autoproc/wl-em.cfm
to output the desired result on a regular browser, then try from the local
server (again,
using a browser, because scheduled tasks doesn't show results or problems as
they occur).
if you get connection Failure I would suggest to check:
1. if the file u'r calling using cfhttp actually exists on the remote
server.
2. if the fil
start by calling a simple URL like: http://www.yahoo.com
and disply the results <cfoutput>#cfhttp.filecontent#</cfoutput>
if this doesn't work, I guess you have some kind of firewall restrictions
and/or cfhttp limitation?
also, while trying, be sure to have CF 4.5.1 SP 2 as the cfhttp tag has a
known problem of eating
lots of ram without the need to.
Tell me what u come up with, I'll try to help.
Thanks,
Michael
----- Original Message -----
From: "JM Ivler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 10:21 PM
Subject: Re: Scheduled Tasks and CFAS service
> I was following a set of posts from April on CF and the task scheduler
with
> "connection Refused" errors and you indicated that you had some
familiarity
> with the application and what may generate that error.
>
> I have a page that does one thing... it writes out: "Hellow<br>wrold"
> when the scheduler runs I have it outputting to a file called temp and it
> contains one line "Connection Failure". I have loaded the task into the CF
> administer using operation: httprequest Port: 80 URL:
> http://iberc.fasturn.com/iberc/autoproc/wl-em.cfm
> No username, no password, no timeout, no proxyserver.
>
> any ideas on why it's failing?
>
>
>
Thanks,
Michael
----- Original Message -----
From: "Tom Espen Pedersen" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 1:24 PM
Subject: Problem with <cfhttp>
> We've encountered a problem on one of our customers servers.
> We use <cfhttp> to grab a wddx packet from an outside the house server.
> This has worked perfectly up until tuesday 19th.
> The error we get is : Connection Failure
>
> we suspected this to be a bug in CF 4.5 so we upgraded the server to 4.5.1
> sp2.
>
> Has anyone encountered errors like this ? and how did you solve them ?
> A reinstall of CF server is the last thing we wanna do since they've got
> alot of services running on that machine.
>
> Sincirely
> Tom Espen Pedersen
> [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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists