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:

Multiple download orders of the same product? (1997) how to construct a search for not this entire string? (2000) Math Function (1997) Public beta 4 of WebCatalog 4.0 is now available (2000) What am I missing (1997) FEW QUESTIONS (1997) Max Record length restated as maybe bug (1997) WCS Newbie question (1997) Problem with Setheader (2001) Using Cookie for client specific info? (1997) [WebDNA] Delete founditems (2010) Urgent WebCatalog problem (2000) RE: OK, here goes... (1997) Problem displaying search result (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Great product and great job ! (1997) Getting Total Quantity (1997) Stumpted Again (1997) Limit on amount of data browsers can parse? (2003) Word Breaks (1998)