Re: Download to disk NOT display in browser

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41735
interpreted = N
texte = or you can stuff or zip the file and the file will download instead of be viewed.I use a writefile include but I link to it via BBedit FTP. It is not perfect though because I have to remember delete it after I access it.DonovanRobert Wade wrote:> Hey gang, I've been through the archives and found discussion on this but I could > not find a solution, so I'm hoping someone has ran into this. > > Client wants to download a database to disk with tabs intact. > > I'm using [copyfile] to generate a new file to be downloaded, and everything I've > tried does nothing but display the file in the browser window. > > So far I've tried to: > > 1. Use standard http link to the file. Displays contents of file in browser > window. > 2. Use rather than http. Doesn't work at all. > 3. Add an applications preference to save to disk in Netscape for files with the > Mime type text/R*ch, and an extension of wdb. This still displays the file in > the browser window. > 4. Holding mouse button down (mac) and using the Save file as saves a file to > disk, but the creator code is changed to MOSS and the tabs are converted to > spaces, and there are line breaks inserted after so many characters in a line. > > In the archives some people had tried to use > [writefile...][include...][/writefile], but they didn't seem to get anywhere with > that either. > > Is there a Mimeheader that should be set to accomplish this? > > Any takers? > > -- Thanks in advance! > > ================================================ > Robert Wade > Outbound Creative, Inc. > robert@outboundcreative.com > ================================================ > |[ ] L|| ë||ë ||} |[ ] L|| ||\| ||) > ================================================ >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Download to disk NOT display in browser (Kenneth Grome 2002)
  2. Re: Download to disk NOT display in browser (Glenn Busbin 2002)
  3. Re: Download to disk NOT display in browser (Joseph D'Andrea 2002)
  4. Re: Download to disk NOT display in browser (Robert Wade 2002)
  5. Re: Download to disk NOT display in browser (Donovan 2002)
  6. Re: Download to disk NOT display in browser (Robert Wade 2002)
  7. Re: Download to disk NOT display in browser (Michael Quattrone 2002)
  8. Download to disk NOT display in browser (Robert Wade 2002)
or you can stuff or zip the file and the file will download instead of be viewed.I use a writefile include but I link to it via BBedit FTP. It is not perfect though because I have to remember delete it after I access it.DonovanRobert Wade wrote:> Hey gang, I've been through the archives and found discussion on this but I could > not find a solution, so I'm hoping someone has ran into this. > > Client wants to download a database to disk with tabs intact. > > I'm using
[copyfile] to generate a new file to be downloaded, and everything I've > tried does nothing but display the file in the browser window. > > So far I've tried to: > > 1. Use standard http link to the file. Displays contents of file in browser > window. > 2. Use rather than http. Doesn't work at all. > 3. Add an applications preference to save to disk in Netscape for files with the > Mime type text/R*ch, and an extension of wdb. This still displays the file in > the browser window. > 4. Holding mouse button down (mac) and using the Save file as saves a file to > disk, but the creator code is changed to MOSS and the tabs are converted to > spaces, and there are line breaks inserted after so many characters in a line. > > In the archives some people had tried to use > [writefile...][include...][/writefile], but they didn't seem to get anywhere with > that either. > > Is there a Mimeheader that should be set to accomplish this? > > Any takers? > > -- Thanks in advance! > > ================================================ > Robert Wade > Outbound Creative, Inc. > robert@outboundcreative.com > ================================================ > |[ ] L|| ë||ë ||} |[ ] L|| ||\| ||) > ================================================ >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Donovan

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

FEW QUESTIONS (1997) OFF TOPIC: help wanted (1997) Search Engine bots (2002) RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (2013) Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) Navigator Parsing (1997) WC1.6 to WC2 date formatting (1997) Navigator Parsing (1997) Fun with Dates - revisited (1997) error message (1998) more info on [setlineitems] (1997) OK, here goes... (1997) double lines in sendmail (2008) WebDNA Solutions ... sorry! (1997) Running _every_ page through WebCat-error.html (1997) WebDNA and SQL (2003) [WebDNA] Re-sending emails (2017) WebDNA vs PHP (2003) weird happenings (1997) Post arguments problem mac? (1997)