Re: Protecting Files
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62159
interpreted = N
texte = 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.ThanksOn 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?--Jesse ProudmanBlue Box Group, LLCp. +1.800.613.4305 x801e. jesse@blueboxgrp.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
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.ThanksOn 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?--Jesse ProudmanBlue Box Group, LLCp. +1.800.613.4305 x801e. jesse@blueboxgrp.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://webdna.smithmicro.com/
Jesse Proudman
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:
multi-paragraph fields (1997)
ShowNext Context (2005)
Random sort is not random at all..... (2000)
Wanted: Broader string manipulation functions (1997)
Re[2]: Searchable archives gone again??? (2000)
Checkboxes (1997)
Looking up two prices in database? (1997)
Reversing [ipaddress] normalization (1998)
Problem about [CART] number (1998)
Undeliverable Mail (1997)
How long until WebDNA makes the list? :( (2004)
PSC recommends what date format yr 2000??? (1997)
CloseDataBase vs CommitDataBase (2007)
Running _every_ page through WebCat-error.html (1997)
[WebDNA] error on mirror site (2015)
Help!!!! (1997)
[WebDNA] Non-numbers entered into a field that asks for a number (2008)
problems with 2 tags (1997)
Moving Webcatalog folder? (2001)
A question on sub-categories (1997)