Re: Protecting Files (how to display vs. present a link to
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62282
interpreted = N
texte = Hello,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.Is there a way to have the image be displayed on the webpage vs. having a link to the file to be downloaded?Thank you!> 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?> > -- > > Jesse Proudman> Blue Box Group, LLC> > p. +1.800.613.4305 x801> e. 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:
Hello,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.Is there a way to have the image be displayed on the webpage vs. having a link to the file to be downloaded?Thank you!> 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?> > -- > > Jesse Proudman> Blue Box Group, LLC> > p. +1.800.613.4305 x801> e. 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/
eLists
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:
Getting Emailer to send mail (1997)
can WC render sites out? (1997)
Price + Texte (1999)
[addlineitems] (1997)
OUTSIDE LINKS TO SHOW SHOPPING CART????????? (1998)
Webmerchant confirmation hooks? (1997)
WebDNA monitor not working (2002)
WebDNA Quick Reference (Reserved Words) (2000)
Wrapping text (1998)
displaying New products (Yikes! it's Fixed!) (1997)
Sort Order on a page search (1997)
[format xs] freeze (1997)
[WebDNA] PayPal Integration (2017)
Mac -Shareware Listserver (1998)
[WebDNA] File Upload Problem (2009)
WebCat2b12 Mac.acgi--[searchstring] bug (1997)
Two options to consider (2008)
Counting LineItems (2000)
Best way to upload file.... (2000)
Installation webCatalog (French speakers please help) (1998)