This is the code I have got on my Coldfusion file
<CFHTTP url="" METHOD="GET" RESOLVEURL="true" throwonerror="yes"/>
<cfoutput>#CFHTTP.FileContent# </cfoutput>
I get an error:
You are not authorized to view this page
You do not have permission to view this directory or page using the credentials you supplied.
Can somebody tell me what am I doing wrong
Thanks
>Hello everybody,
>
>I'm trying to call a .asp file from my coldfusion page
>using cfhttp and I keep getting errors. Both files are
>on the same server, just different folders under the
>site webroot.
>This should explain it:
>
>The ColdFusion file is in
>C:\Inetpub\wwwroot\myProject\pages\folder1\searchreport.cfm
>
>
>and the ASP file is in
>C:\Inetpub\wwwroot\myProject\site\includes\topmenu\folder2\menu.asp.
>
>Can somebody show me how to use cfhttp to call the asp
>file (menu.asp) in my coldfusion file
>(searchreport.cfm)
>
>Many Thanks
>Allan
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- CFHTTP Question! Allan Clarke
- RE: CFHTTP Question! Andre Mohamed
- Re:CFHTTP Question! ColdFusion Programmer
- RE: CFHTTP Question! Bryan F. Hogan
- RE: CFHTTP Question! Andre Mohamed
- Re: CFHTTP Question! Stephen Moretti
- Re:CFHTTP Question! ColdFusion Programmer
- Re:CFHTTP Question! ColdFusion Programmer
- Re: CFHTTP Question! Jochem van Dieten
- Re:CFHTTP Question! ColdFusion Programmer
- Re: CFHTTP Question! Jochem van Dieten
- RE: CFHTTP Question! Mark A. Kruger - CFG
- RE: CFHTTP Question! Dave Watts
- RE: CFHTTP Question! Mark A. Kruger - CFG
- Re:CFHTTP Question! ColdFusion Programmer
- Re:CFHTTP Question! ColdFusion Programmer
- RE: CFHTTP Question! Mark A. Kruger - CFG