Is there a way for the nd server side, to read that file, and
deliver the
        binary data back to the client? 

James,

This part seems to be possible :

Have an Applet on the client side.
The applet invokes a method on a CSpPage on the Server side, which reads the
PDF and write into a ByteArrayStream and wraps it into a Hashtable and
returns.
The applet opens the Hashtable and gets the ByteArrayStream.

But what next? The applet (signed) writes it into the local disk?...


Aby

> -----Original Message-----
> From: James Law [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, April 14, 1999 10:58 AM
> To:   [EMAIL PROTECTED]
> Subject:      [ND] sending browser a file
> 
> We currently use a printserver to generate crystal reports on the fly.
> Currently
> when the end-user clicks the appropriate button, a pdf file is generated,
> and we then redirect
> the browser to get THAT file, wherever it may be on the webserver.
> 
> Is there a way for the nd server side, to read that file, and deliver the
> binary data back to the
> client? Since there is no way to get a handle to the CSPoutput stream, and
> send BINARY
> data that I am aware of, I think we can't do this. The benefit of having
> the
> server deliver the file is
> better security, and no cleanup afterward of temp .pdf files.
> thanks
> James Law
> 
> 
> _________________________________________________________________________
> 
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
> 
> For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to