The path should be the path on your hardrive not a URL. This: c:\myfiles\myfile.txt
not : http:\\mysite.com\myfile.txt At 04:59 PM 19/09/02 -0500, you wrote: >Hello, > >I am uploading an application which was built by the previous team and now >I have to resolve some issues... > >Here is the page: >http://webapps1.hud.gov/pih/pha/plans/approved/approved_plans.cfm > >When there, select a state from the drop down menu and then it takes you to: > >http://webapps1.hud.gov/pih/pha/plans/approved/view_approved_plans.cfm > >Here is the segment of code from view_approved_plans.cfm: > > <cfset CURRENTDIRECTORY = #GETDIRECTORYFROMPATH(GETTEMPLATEPATH())#> > <cfoutput> > <!-- > FILE="http://www2.hud.gov/pih/pha/plans/approved/#fiscalyear#/#statecode#_ > #fiscalyear#.txt" --> > <cfif #statecode# NEQ "0"> > <cffile action="Read" > >file="http://www.hud.gov/offices/pih/pha/approved/#fiscalyear#/#statecode#_ >#fiscalyear#.txt" > variable="phacodeoff"> > <cfset codeofflist=ListToArray(phacodeoff,";")> > </cfif> > </cfoutput> > >And here is the error I am getting: > >Error Diagnostic Information >Error processing CFFILE > >Error attempting to read >'http://www.hud.gov/offices/pih/pha/approved/02/al_02.txt.' No such file >or directory (error 2) > >The error occurred while processing an element with a general identifier >of (CFFILE), occupying document position (449:11) to (451:25). > > >Date/Time: Thu Sep 19 17:41:05 2002 >Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows 95; YComp 5.0.0.0) >Remote Address: 10.200.36.101 >HTTP Referrer: >http://webapps1.hud.gov/pih/pha/plans/approved/approved_plans.cfm > > >Now, I have no clue why is there a dot in the end of the file name which >is being read: >'http://www.hud.gov/offices/pih/pha/approved/02/al_02.txt.' > >If you go to http://www.hud.gov/offices/pih/pha/approved/02/al_02.txt you >will see that the file is there. > >Any help will be appreciated! > >Thanks, > >Mitko > >PS. I think the app server is ColdFusion 5 on Netscape Enterprise Server. > ______________________________________________________________________ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

