> This is the problem that's eating my brain now. > I need to access to a asp file that send me back a cvs > file as attachment. I can not see how to get the cvs > file. Down there is the piece of cf code and continuesly > what I see in the client side. Any ideas??? > > ////////////////////////////////////////////////// > //This is what I see in the browser > /////////////////////////////////////////////// > The requested file is not ASCII text and can not be > rendered. > > The mime-type: > > application/unknown
Versions of CF prior to 5.0, I think, will not let you display CFHTTP.FileContent if CF doesn't recognize the MIME type to be text. I don't think there's much you can do about that, but you can work around it by using the FILE attribute of CFHTTP to write the content to a file, then use CFFILE to read it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ______________________________________________________________________ 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