Re: Download to disk NOT display in browser

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41736
interpreted = N
texte = Donovan wrote:> or you can stuff or zip the file and the file will download > instead of be viewed.Are you using applescript for this, I'm guessing?> > > 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. > > Donovan > > Robert 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/--================================================ Robert Wade Outbound Creative, Inc. robert@outboundcreative.com ================================================ |[ ] L|| ‘||‘ ||} |[ ] L|| ||\| ||) ================================================------------------------------------------------------------- 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)
Donovan wrote:> or you can stuff or zip the file and the file will download > instead of be viewed.Are you using applescript for this, I'm guessing?> > > 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. > > Donovan > > Robert 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/--================================================ Robert Wade Outbound Creative, Inc. robert@outboundcreative.com ================================================ |[ ] L|| ‘||‘ ||} |[ ] L|| ||\| ||) ================================================------------------------------------------------------------- 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/ Robert Wade

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:

Introduction/Tutorial/QuickStart (1997) Delete Context - to remove record (1998) For those annoying clients... (2003) Changes to [ReturnRaw] in 3.0 (1998) [cart] (1998) Colors (2000) Fwd: Protect Tag and Groups (1998) Languages (1997) RE: Formulas.db + Users.db (1997) Calendar Program (2004) WebCatalog can't find database (1997) Re1000001: Setting up shop (1997) WebCat2b15MacPlugin - [protect] (1997) [WebDNA] writefile (2009) Hyperlink in email (2002) [WebDNA] WebDNA on LiveCD ... (2008) is [Bankres] an internal webcat variable? (1999) PCS Emailer's role ? (1997) Modifying databases manually (was Banner DNA) (1997) Re:Emailer and encryption (1997)