Hi Ezra, Try putting quotes around your filenames in the header. Use <@DQ> instead of actual quotes so it doesn't mess up the quote nesting of your variable assignment.
Then, put <@VAR LOCAL$data ENCODING=NONE> on the first line, in the last Results Action window of the TAF and also use <@PURGERESULTS>, like so: -----------Last Results Action of TAF----------- <@PURGERESULTS><@VAR LOCAL$data ENCODING=NONE> And make sure there are no spaces or carriage-returns after the variable. Hope this helps. Cheers........ Scott Cadillac, Witango.org - http://witango.org 403-281-6090 - [EMAIL PROTECTED] -- Information for the Witango Developer Community --------------------- XML-Extranet - http://xml-extra.net 403-281-6090 - [EMAIL PROTECTED] -- Well-formed Development (for hire) --------------------- ----- Original Message ----- From: "Ezra" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 12:54 PM Subject: Witango-Talk: Image & pdf from database > Hi, > > In my db I've got a some images (gif/jpeg) and PDF files What should > the proper httpdHeader values be for there data types? I tried the > following but it crashes witango! > > > <@ASSIGN NAME="data" SCOPE="Local" VALUE="<@COL NUM='2' ENCODING=NONE>"> > <@ASSIGN NAME=size" SCOPE="Local" VALUE="<@VARINFO LOCAL$data SIZE>"> > <@ASSIGN LOCAL$encodeResults FALSE> > > <@ASSIGN local$httpHeader "Content-Type: image/gif; name=<@COL 1 > ENCODING=NONE><@CRLF>Content-Disposition: inline; filename=<@COL 1 > ENCODING=NONE><@CRLF>Content-Length: @@local$size<@CRLF><@CRLF>"> > > <@VAR LOCAL$data ENCODING=NONE> > > > > any ideas? > > > > thanks, > ezra > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body