How about this:
set chan [ns_conn contentchannel]
fconfigure $chan -translation binary
puts -nonewline [read $chan [ns_conn contentlength]]-- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[email protected]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
