Re: Protecting Files

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62162
interpreted = N
texte = Works like a charm. Thanks Jesse! On 6/10/05 1:01 PM, "Jesse Proudman" wrote: > Here's the code I used: > > [ReturnRaw binarybody=path/to/file.zip][!] > [/!]HTTP/1.0 200 OK[unurl][line_ending][/unurl][!] > [/!]Status: 200[unurl][line_ending][/unurl][!] > [/!]Content-Type: > application/octet-stream[unurl][line_ending][/unurl][!] > [/!]Content-Disposition: attachment; > filename="file.zip"[unurl][line_ending][line_ending][/unurl][!] > [/!][/ReturnRaw] > > You just need to replace path/to/file.zip with the path to the pdf and > then filename="file.zip" with the name you want the user to see. > > Thanks > > On Jun 10, 2005, at 10:59 AM, Clint Davis wrote: > >> I read the docs, but I'm not entirely clear on the process. Do you >> have some >> code that you might share? ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Protecting Files (how to display vs. present a link to ( "Mark Pace" 2005)
  2. Re: Protecting Files (how to display vs. present a link to ( eLists 2005)
  3. Re: Protecting Files (how to display vs. present a link to ( "Mark Pace" 2005)
  4. Re: Protecting Files (how to display vs. present a link to ( Stuart Tremain 2005)
  5. Re: Protecting Files (how to display vs. present a link to ( eLists 2005)
  6. Re: Protecting Files (how to display vs. present a link to ( Stuart Tremain 2005)
  7. Re: Protecting Files (how to display vs. present a link to ( eLists 2005)
  8. Re: Protecting Files ( Terry Wilson 2005)
  9. Re: Protecting Files ( Jesse Proudman 2005)
  10. Re: Protecting Files ( devaulw@onebox.com 2005)
  11. Re: Protecting Files ( Kenneth Grome 2005)
  12. Re: Protecting Files ( 2005)
  13. Re: Protecting Files ( Terry Wilson 2005)
  14. Re: Protecting Files ( eLists 2005)
  15. Re: Protecting Files ( eLists 2005)
  16. Re: Protecting Files ( devaulw@onebox.com 2005)
  17. Re: Protecting Files ( Jesse Proudman 2005)
  18. Re: Protecting Files ( Marc Thompson 2005)
  19. Re: Protecting Files ( "my eLists" 2005)
  20. Re: Protecting Files ( Clint Davis 2005)
  21. Re: Protecting Files ( Jesse Proudman 2005)
  22. Re: Protecting Files ( Gary Krockover 2005)
  23. Re: Protecting Files ( Jesse Proudman 2005)
  24. Re: Protecting Files ( Clint Davis 2005)
  25. Re: Protecting Files ( Jesse Proudman 2005)
  26. Protecting Files ( Clint Davis 2005)
Works like a charm. Thanks Jesse! On 6/10/05 1:01 PM, "Jesse Proudman" wrote: > Here's the code I used: > > [ReturnRaw binarybody=path/to/file.zip][!] > [/!]HTTP/1.0 200 OK[unurl][line_ending][/unurl][!] > [/!]Status: 200[unurl][line_ending][/unurl][!] > [/!]Content-Type: > application/octet-stream[unurl][line_ending][/unurl][!] > [/!]Content-Disposition: attachment; > filename="file.zip"[unurl][line_ending][line_ending][/unurl][!] > [/!][/ReturnRaw] > > You just need to replace path/to/file.zip with the path to the pdf and > then filename="file.zip" with the name you want the user to see. > > Thanks > > On Jun 10, 2005, at 10:59 AM, Clint Davis wrote: > >> I read the docs, but I'm not entirely clear on the process. Do you >> have some >> code that you might share? ------------------------------------------------------------- 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://webdna.smithmicro.com/ Clint Davis

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:

[dos] command question (1997) SearchTitle Question (1998) You sent this to me by mistake. (1998) Redirect frame targets (1998) Need relative path explanation (1997) Only charge card when product shipped ? (1997) WebMerchant - MacAuthorize (1999) Processing all html files through WebCat or Typhoon (1998) Shopping problems with 2.1b3 acgi (1997) WebMerchant Config problems (2000) Nested tags count question (1997) Search with Special Chars (1997) Re[2]: What am I doing wrong? (2000) Problem (1997) Database Security Rev., (2002) Secure server question (1997) Days in range (2002) WCS Newbie question (1997) Replace/Commit not Replacing/Commiting (2000) Upgrade Problem.... (1998)