> I'm listing files in a directory on my server. All files are > wrapped with <a href>...</a>. What I want to happen is when > a user clicks on a file I want that file opened in an editor > on the client PC (not the server). In my case, UltraEdit.
Unfortunately for you, you really can't use HTML to control from the server what happens to downloaded files. From a client security standpoint, this is a very good thing. You can indicate to the client that the file should be downloaded rather than viewed using CFCONTENT and CFHEADER (examples at http://www.figleaf.com/demo/mimetest/), but that's about it. You could conceivably write a client executable to handle this for you, such as an ActiveX component, but that's about it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists