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:

Triggers (2003) [Price] (1997) 2.0.1 new commands and contexts (1997) Can [writefile] files be served thru webcat? (2000) random in arizona (2003) Re(2): MASTER_STORE revision (2002) problem with waitForFile? (1998) Help on how to store calculated value (2002) Am I going senile? (Price recalc based on quantity) (1997) New command suggestion (1997) eMail volume (2000) IE Cache Problems... (1999) Opinion: [input] should be called [output] ... (1997) PCS Frames (1997) random sorting broken (was Re[2]: php vs WebCatalog) (2000) WebCat2b12plugin - [search] is broken ... not! (1997) Country & Ship-to address & other fields ? (1997) I'm Baaaaaaaaaack - Questions! (2000) Has anyone built this already? (2003) problems with 2 tags shakur (1997)