Re: downloading binary files ussing mime and tcpconnect

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60386
interpreted = N
texte = Sounds like you need to make use of the [ReturnRaw] context with the 'binarybody' option that was added in WebDNA 5.1 Take a look.... http://webdna.smithmicro.com/ref/pages.html?context=ReturnRawContext.html#Bi naryBody So you can first fetch the file with the tcpsend/writefile code, then use [returnraw] to send the binary contents back to the client. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Roberto A. Berrospe Machin Sent: Wednesday, December 08, 2004 09:35 AM To: WebDNA Talk Subject: Re: downloading binary files ussing mime and tcpconnect Hello John and thanks for the response. Well, i just want to write the content of a binary file to the result page, but i can't find how, and what i find on the webnda talk (search.smithmicro.com) exactly this link: http://search.smithmicro.com/TalkListArchive/DetailResults.tpl?command=searc h&db=webdna-talk.db&eqIDdata=45631&max=1&words=tcp%20connect%20binary%20file s was that can be possible to include a binary file content in the body ussing these writefile, and even, this bug is supossed is fixed after the v5.2, and im ussing the v6, but dont work :( Some ideas? Thanks! Roberto Antonio Berrospe Machin Senior Programer / Developer / Server-Lan Manager Virtual Job Zone Corporation. New York - United States http://www.virtualjobzone.com robert@virtualjobzone.com Phone: 1 - 718 576 2210 Office Personal: 1 - 914 372 8133 ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: downloading binary files ussing mime and tcpconnect ( "Roberto A. Berrospe Machin" 2004)
  2. Re: downloading binary files ussing mime and tcpconnect ( "Scott Anderson" 2004)
  3. Re: downloading binary files ussing mime and tcpconnect ( John Peacock 2004)
  4. Re: downloading binary files ussing mime and tcpconnect ( "Roberto A. Berrospe Machin" 2004)
  5. Re: downloading binary files ussing mime and tcpconnect ( John Peacock 2004)
  6. downloading binary files ussing mime and tcpconnect ( "Roberto A. Berrospe Machin" 2004)
Sounds like you need to make use of the [returnraw] context with the 'binarybody' option that was added in WebDNA 5.1 Take a look.... http://webdna.smithmicro.com/ref/pages.html?context=ReturnRawContext.html#Bi naryBody So you can first fetch the file with the tcpsend/writefile code, then use [returnraw] to send the binary contents back to the client. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Roberto A. Berrospe Machin Sent: Wednesday, December 08, 2004 09:35 AM To: WebDNA Talk Subject: Re: downloading binary files ussing mime and tcpconnect Hello John and thanks for the response. Well, i just want to write the content of a binary file to the result page, but i can't find how, and what i find on the webnda talk (search.smithmicro.com) exactly this link: http://search.smithmicro.com/TalkListArchive/DetailResults.tpl?command=searc h&db=webdna-talk.db&eqIDdata=45631&max=1&words=tcp%20connect%20binary%20file s was that can be possible to include a binary file content in the body ussing these writefile, and even, this bug is supossed is fixed after the v5.2, and im ussing the v6, but dont work :( Some ideas? Thanks! Roberto Antonio Berrospe Machin Senior Programer / Developer / Server-Lan Manager Virtual Job Zone Corporation. New York - United States http://www.virtualjobzone.com robert@virtualjobzone.com Phone: 1 - 718 576 2210 Office Personal: 1 - 914 372 8133 ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ "Scott Anderson"

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:

WebCat 3.0 Serial Numbers (1999) Emailer setup (1997) Templates for Customer Database? (1997) [isfile] ? (1997) Error: Too many nested [xxx] contexts (1997) Nested Loops and SHOWIFs (1997) Modifying Carts (1999) RE: [WebDNA] Windoes Server2008 users? (2011) HELP WITH DATES (1997) Show shoppingcart after remove last item (1997) Running _every_ page through WebCat ? (1997) Cart Number sequence (1997) tricky embedded[showifs/hideifs] (w/ code.. long) (2000) Emailer error 571 (1998) sendmail spaces (1997) WebDNA 6.0 backwards compatible? (2004) [Price] (1997) Problems getting parameters passed into email. (1997) Removing [showif] makes a big difference in speed (1997) problems with WebCat-Plugin (1997)