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:

new cart IDs being assigned somehow (1997) Formating found categories (1997) OT: Version Control (2007) [WebDNA] SpeedTest (2009) WebCatalog Technical Reference (1997) WebCat2b15MacPlugin - showing [math] (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) rotating thumbnails (1997) Re:2nd WebCatalog2 Feature Request (1996) OT: Outsourcing & copyrights (2005) WebCat2 several catalogs? (1997) Separate SSL Server (1997) Creating main- and sub-category search (1997) Dealing with da back button (1999) limitation found on group searching (1997) PSC recommends what date format yr 2000??? (1997) Where's Cart Created ? (1997) Table Loop Hoops (2000) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Searching multiple fields from one form field (1997)