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:
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:
[group] ? (1997)
Web*SSL and WebCatalog (1997)
[listfiles] (1998)
So, does anyone have developer editon running on Win XP Pro? (2006)
Forumulas.db & Variables (2002)
Using Plug-In while running 1.6.1 (1997)
WebCatalog 4.0.1 has been released! OSXS (2000)
Newbie problem blah blah blah (1997)
delete file (2000)
Problems passing [SKU] with $Replace in 2.0 (1997)
RE: Template not found error messages (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Hello??? (1997)
MacAuthorize order data fields WAS:How To question... (1997)
Date problems-more (1997)
form data submission gets truncated (1997)
addlineitem mystery (2003)
Payflow Pro help is here (2002)
WebCatalog for guestbook ? (1997)
add to cart within a page? (1997)