BinaryBody

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53286
interpreted = N
texte = Hi Serving on w2k WebDNA 5.1 (Special build) I have this code which does as it should, ie download the file, only problem is that the file has NO content when it arrives. Any ideas? [text secure=f]getfile=[/text] [showif [getfile]!] [text]line_ending=%0D%0A[/text] [ReturnRaw binarybody=[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] [/showif] [listfiles path=pdfs/][showif [filename]=HeatRay.pdf]     BROCHURE[/showif][/listfiles] 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: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  2. Re: [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  3. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  4. Re: [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  5. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  6. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  7. Re: [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  8. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  9. [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  10. BinaryBody ( Stuart Tremain 2003)
  11. Re: BinaryBody problem FIXED ( Stuart Tremain 2003)
  12. Re: BinaryBody problem ...... ( "Scott Anderson" 2003)
  13. Re: BinaryBody problem ...... ( Stuart Tremain 2003)
  14. Re: BinaryBody problem ...... ( Stuart Tremain 2003)
  15. Re: BinaryBody problem ...... ( "Scott Anderson" 2003)
  16. Re: BinaryBody problem ...... ( "Scott Anderson" 2003)
  17. BinaryBody problem ...... ( Stuart Tremain 2003)
  18. Re: BinaryBody for ReturnRaw ( Stuart Tremain 2003)
  19. Re: BinaryBody for ReturnRaw ( "Scott Anderson" 2003)
  20. Re: BinaryBody for ReturnRaw ( Stuart Tremain 2003)
  21. BinaryBody for ReturnRaw ( Stuart Tremain 2003)
Hi Serving on w2k WebDNA 5.1 (Special build) I have this code which does as it should, ie download the file, only problem is that the file has NO content when it arrives. Any ideas? [text secure=f]getfile=[/text] [showif [getfile]!] [text]line_ending=%0D%0A[/text] [ReturnRaw binarybody=[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] [/showif] [listfiles path=pdfs/][showif [filename]=HeatRay.pdf][thisurl]?getfile=[url][filename][/ url]>     BROCHURE[/showif][/listfiles] 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:

What am I missing (1997) SMSI: Forged email addresses on the talk list ... (2002) problems with WebCat-Plugin () WebCat2: Items xx to xx shown, etc. (1997) Adding up line items. (2000) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) WebCat2: Formulas.db question (1997) Signal Raised Error (Part III) (1997) [OT] Theiving B*****ds (2004) anyone have an automated template encrypter? (2000) Emailer (WebCat2) (1997) Webcatalog quitting (1997) [date] problem with %d%m%Y (1998) RE: [WebDNA] TCPConnect/cURL alternative for windows? (2010) WebDNA HitLogger available (was Signal Raised Error) (1997) portal (2002) WebCat2: multiple currency support (1997) replacing founditems ... (2002) Template Cache problem (2000) japanese characters (1997)