Re: BinaryBody for ReturnRaw

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52538
interpreted = N
texte = Scott Your white pages site works for me on Mac OSX 10.2 IE 5.2, my coding=20 does not. Same problems on w2k ie 6. On Thursday, August 28, 2003, at 04:17 AM, Scott Anderson wrote: > Some browsers are more particular about how attachments are described=20= > in the > MIME headers. What happens when you test using different browsers? > Netscape or IE on Windows? Older IE versions (4.x) did have a bug = with > regards to interpreting those MIME headers. > > > > -----Original Message----- > From: Stuart Tremain [mailto:development@idfk.com.au] > Sent: Wednesday, August 27, 2003 1:38 AM > To: WebDNA-Talk@talk.smithmicro.com > Subject: Re: BinaryBody for ReturnRaw > > > When I use the complete code form the docs: > > http://webdna.smithmicro.com/ref/ > pages.html?context=3DReturnRawContext.html > > > I can get a file to download but it will not open - Acrobat thinks = that > > it corrupted ??? > > I am trying to get it work the same as in: > http://webdna.smithmicro.com/whitepapers.html > > > > On Wednesday, August 27, 2003, at 06:04 PM, Stuart Tremain wrote: > >> Hi >> >> I am trying to get this to work: (new in WebDNA 5.1) >> >> [!]Initailize the getfile variable[/!] >> [text]getfile=3Darchived_orders/[DocNo].pdf[/text] >> >> **** Copy & Paste from the doc ***** >> [!]Check if filename was passed in[/!] >> [showif [getfile]!] >> [text]line_ending=3D%0D%0A[/text] >> >> [!]Generate the response[/!] >> [ReturnRaw binarybody=3D[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=3D"[getfile]"[unurl][line_ending][line_ending][/unurl][!] >> [/!][/ReturnRaw] >> >> [/showif] >> >> >> >> I am serving off a PC, on my Mac OSX IE browser all I get is this in = a > >> browser window: >> >> %PDF-1.3 %=E2=E3=CF=D3 15 0 obj << /Linearized 1 /O 17 /H [ 1352 255 = ] /L >> 350063 /E 348732 /N 1 /T 349645 >> endobj xref 15 46 0000000016 00000 > >> n 0000001267 00000 n 0000001607 00000 n 0000001813 00000 n 0000002057 > >> 00000 n 0000002126 00000 n 0000002165 00000 n 0000002245 0000 >> >> Any ideas why the pdf is not being downloaded to my desktop ? >> >> >> >> Regards >> >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> >> ------------------------------------------------------------- >> 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/ >> >> > Regards > > Stuart Tremain > idfk web developments > 114a/40 yeo street neutral bay 2089 australia > t +612 9908 2134 > f +612 9908 4837 > > > ------------------------------------------------------------- > 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/ > > > > ------------------------------------------------------------- > 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=20 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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: BinaryBody for ReturnRaw ( Stuart Tremain 2003)
  2. Re: BinaryBody for ReturnRaw ( "Scott Anderson" 2003)
  3. Re: BinaryBody for ReturnRaw ( Stuart Tremain 2003)
  4. BinaryBody for ReturnRaw ( Stuart Tremain 2003)
Scott Your white pages site works for me on Mac OSX 10.2 IE 5.2, my coding=20 does not. Same problems on w2k ie 6. On Thursday, August 28, 2003, at 04:17 AM, Scott Anderson wrote: > Some browsers are more particular about how attachments are described=20= > in the > MIME headers. What happens when you test using different browsers? > Netscape or IE on Windows? Older IE versions (4.x) did have a bug = with > regards to interpreting those MIME headers. > > > > -----Original Message----- > From: Stuart Tremain [mailto:development@idfk.com.au] > Sent: Wednesday, August 27, 2003 1:38 AM > To: WebDNA-Talk@talk.smithmicro.com > Subject: Re: BinaryBody for ReturnRaw > > > When I use the complete code form the docs: > > http://webdna.smithmicro.com/ref/ > pages.html?context=3DReturnRawContext.html > > > I can get a file to download but it will not open - Acrobat thinks = that > > it corrupted ??? > > I am trying to get it work the same as in: > http://webdna.smithmicro.com/whitepapers.html > > > > On Wednesday, August 27, 2003, at 06:04 PM, Stuart Tremain wrote: > >> Hi >> >> I am trying to get this to work: (new in WebDNA 5.1) >> >> [!]Initailize the getfile variable[/!] >> [text]getfile=3Darchived_orders/[DocNo].pdf[/text] >> >> **** Copy & Paste from the doc ***** >> [!]Check if filename was passed in[/!] >> [showif [getfile]!] >> [text]line_ending=3D%0D%0A[/text] >> >> [!]Generate the response[/!] >> [ReturnRaw binarybody=3D[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=3D"[getfile]"[unurl][line_ending][line_ending][/unurl][!] >> [/!][/ReturnRaw] >> >> [/showif] >> >> >> >> I am serving off a PC, on my Mac OSX IE browser all I get is this in = a > >> browser window: >> >> %PDF-1.3 %=E2=E3=CF=D3 15 0 obj << /Linearized 1 /O 17 /H [ 1352 255 = ] /L >> 350063 /E 348732 /N 1 /T 349645 >> endobj xref 15 46 0000000016 00000 > >> n 0000001267 00000 n 0000001607 00000 n 0000001813 00000 n 0000002057 > >> 00000 n 0000002126 00000 n 0000002165 00000 n 0000002245 0000 >> >> Any ideas why the pdf is not being downloaded to my desktop ? >> >> >> >> Regards >> >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> >> ------------------------------------------------------------- >> 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/ >> >> > Regards > > Stuart Tremain > idfk web developments > 114a/40 yeo street neutral bay 2089 australia > t +612 9908 2134 > f +612 9908 4837 > > > ------------------------------------------------------------- > 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/ > > > > ------------------------------------------------------------- > 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=20 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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/ Stuart Tremain

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:

Search/sort in URL Was: GuestBook example (1997) rotating thumbnails (1997) Re:Emailer tracking (1997) Here we go again... (2006) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997) WebCatalog 4.0 has been released! (2000) Include vs. lookup? (1998) Searching multiple Databases (1997) WebDNA's portability (2007) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Setting up the server (1997) Re:No Data (1997) multi-paragraph fields (1997) Writefile illegal characters ? (2004) WebCatalog 2.0 b 15 mac (1997) WebCat2 - Getting to the browser's username/password data (1997) Database Options (1997) [WebDNA] WebDNA install on Redhat 4 64 bit? (2008) Sort Order on a page search (1997) spaces in [texta] (1998)