Re: force file download for a Mac

2003-11-26 Thread Phillip B.
Well I couldn't get it to work the way I wanted it too. I decided to make them "Save link as" instead of forcing the download. Dave Watts wrote: > > I think that is where the file="[pathtofile]\sartxfercy.txt" > > attribute comes in. > > This part is only applicable if you're returning a file fr

RE: force file download for a Mac

2003-11-26 Thread Dave Watts
> I think that is where the file="[pathtofile]\sartxfercy.txt" > attribute comes in. This part is only applicable if you're returning a file from the filesystem using CFCONTENT. If you're returning text you've just generated with CF, you would omit the FILE attribute. Dave Watts, CTO, Fig Leaf S

Re: force file download for a Mac

2003-11-26 Thread Patricia G. L. Hall
I think that is where the file="[pathtofile]\sartxfercy.txt" attribute comes in.  You didn't have it in your original code, did you put it in this go round? My application does exactly what you want.  Forces a download of a text file on both Mac and PC and names the file as I have it spelled out i

Re: force file download for a Mac

2003-11-26 Thread Phillip B.
Patricia G. L. Hall wrote: > Try this: > > > > > I don't know for sure if you need the file="[pathtofile]"  I just know > that in my application, which works on the mac, I used that attribute. > The important part, though is that you specify type="application/unknown". > > Works for me. I tried

Re: force file download for a Mac

2003-11-26 Thread Patricia G. L. Hall
> I'm trying to make a mac download an XML file that is dynamically > created. I can get it to work on a PC but a Mac just opens the file in > the browser. This is the CF that I'm using. Any ideas on what I need to > do to make this thing work? > > > > > > -- > Phillip B. Try this: I don't

RE: force file download for a Mac

2003-11-26 Thread Paul Vernon
This is all to do with the content type. If the any browser recognises the type as something it can display, it will. Your Mac browser in this instance knows about XML so it is displaying it inline I'm not sure what you can do to stop that other than change the content-type to something that is