#1  
Old 6th September 2018, 05:52 PM
RichardLight RichardLight is offline
Junior Member
 
Join Date: Nov 2011
Posts: 22
Default Nxscript server delivering binary content

I've been working with the script-based web server, trying to implement the beginnings of a browser-based version of our Windows client. One thing I want to do is to deliver a PDF response.

I gave up on this yesterday when I found that the methods of TnxSimpleOutputCache (Write, WriteLn) don't take kindly to being offered a PDF to deliver. The output is truncated on encountering the first #0 byte.

Could this component be given a WriteStream method? As well as allowing delivery of PDFs, it would also enable native delivery by the nxscript server of other binary formats such as images.

Thanks,

Richard


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Locks and Transactions work sri.ajay nexusdb.public.support 12 27th November 2015 08:32 PM
New user...How to view content of nx1 files? gorlaz nexusdb.public.support 11 15th March 2011 08:12 PM
Web Application - Support Content-Encoding: gzip jprenou nexusdb.public.discussions 3 9th November 2010 05:11 AM
Source Server smaller that Current Binary Release Chris nexusdb.public.support 2 9th January 2006 07:28 PM
Binary Server Bernhard Roos nexusdb.public.support 4 3rd December 2005 11:08 AM


All times are GMT +11. The time now is 11:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.