Re: Download to disk NOT display in browser

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41733
interpreted = N
texte = We do something similar; instead of downloading the file we have the client enter an e-mail address and then our sever sends the file to that e-mail address. I can share the code if you want.MichaelOn Friday, July 19, 2002, at 04:06 PM, 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|| ||\| ||) > ================================================ > > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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)
We do something similar; instead of downloading the file we have the client enter an e-mail address and then our sever sends the file to that e-mail address. I can share the code if you want.MichaelOn Friday, July 19, 2002, at 04:06 PM, 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|| ||\| ||) > ================================================ > > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Michael Quattrone

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:

Change extension (2000) Email Spam a bit of Hell (2004) too many nested tags ... (1997) Add Unit Ship Cost to Cart (2000) Database location (2002) WebCatalog NT beta 18 now available (1997) [taxRate] [TaxTotal] ? (1997) WebCat2 beta 11 - new prefs ... (1997) charging? (2001) WebMerchant 1.6 and SHTML (1997) WebCatalog and WebTen (1997) calendar (2001) Re:no [search] with NT (1997) WebCat2 several catalogs? (1997) OT: SSL Certs (2005) Multiple catalog databases and showcart (1997) date (2002) WebCat2b12 CGI Mac - [shownext] problem (1997) showif and cart (1997) wrong authentication (1998)