Re: JPG Force Download - BUG?

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69435
interpreted = N
texte = Hi Steve Thanks for your response! I've got the same code as you have ... and as you sad it seems to work on Firefox and IE. I have no idea how we could tell Safari not to add the html suffix. Guess I will put a note for Safari users to right-click and save the file to disk. Thierry --------------------------- mac&web gmbh thierry almy 8200 schaffhausen switzerland phone +41 (0)52 620 30 60 web www.mac-web.ch --------------------------- [text secure=f]path=fileupload[/text] [text secure=f]getfile=mymovie.mov[/text] [text]line_ending=%0D%0A[/text] [ReturnRaw binarybody=[path]/[getfile]]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="[getfile]"[unurl][line_ending][line_ending][/unurl][!] [/!][/ReturnRaw] Steve Craig schrieb: > Hi > > I needed it for a little project that I knew was heading my way and > although I haven't started it yet I did do a couple of tests with the code. > > I am on OSX and latest WebDNA also and the tests I did seemed to work > ok. It's 10:45pm here so I will dig out the code and forward it to you > tomorrow. Didn't try it with anything other than a jpg but I'll post > what I have, hopefully it will help. > > Cheers > ======================================== > Steve Craig - Asylum Interactive Ltd > Tel +44 1330 860550 Fax +44 1330 860880 > ======================================== > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > ======================================== ------------------------------------------------------------- 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: JPG Force Download - BUG? ( thierry 2007)
  2. Re: JPG Force Download - BUG? ( thierry 2007)
Hi Steve Thanks for your response! I've got the same code as you have ... and as you sad it seems to work on Firefox and IE. I have no idea how we could tell Safari not to add the html suffix. Guess I will put a note for Safari users to right-click and save the file to disk. Thierry --------------------------- mac&web gmbh thierry almy 8200 schaffhausen switzerland phone +41 (0)52 620 30 60 web www.mac-web.ch --------------------------- [text secure=f]path=fileupload[/text] [text secure=f]getfile=mymovie.mov[/text] [text]line_ending=%0D%0A[/text] [ReturnRaw binarybody=[path]/[getfile]]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="[getfile]"[unurl][line_ending][line_ending][/unurl][!] [/!][/ReturnRaw] Steve Craig schrieb: > Hi > > I needed it for a little project that I knew was heading my way and > although I haven't started it yet I did do a couple of tests with the code. > > I am on OSX and latest WebDNA also and the tests I did seemed to work > ok. It's 10:45pm here so I will dig out the code and forward it to you > tomorrow. Didn't try it with anything other than a jpg but I'll post > what I have, hopefully it will help. > > Cheers > ======================================== > Steve Craig - Asylum Interactive Ltd > Tel +44 1330 860550 Fax +44 1330 860880 > ======================================== > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > ======================================== ------------------------------------------------------------- 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/ thierry

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:

Summaries (1999) Web Merchant Docs? (2002) WebCatalog can't find database (1997) Non-Cart Files in Shopping Cart Folder (1997) Multiple 'Users.db' files not possible (1997) Question about replacing words (1998) template includes encrypted template (1999) OT: New Virus? (2001) Everyone: List Traffic (was [include ...] behavior) (1997) [DOS]/DOS query - A SOLUTION (2003) Practice runs ? (1997) Emailer setup (1997) Re:E-Mailer (WebCatb15acgiMac) (1997) inetinfo.exe (1999) referrer and no caches (1997) Need help (1998) Multiple Sendmail Tags on One Page (2008) [isfolder] and [filename] (1997) [protect] on NT? (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997)