On Tue, 26 Nov 2002 16:40, you wrote: > Hello. I'm implementing some extranet functionality, allowing users > to access a samba fileshare (that is not publicly accessible) through > turbine (which is)... however I'm kind of stumped. Since the file > server is remote to the web server (and its content is only accessed > through the SMB protocol from local IPs), the client can not directly > download a file from the file server (i.e. get directed to the > fileserver by the web server). Instead, I need to create a stream is > the samba share to the turbine VM... how do I send that stream to the > client? Is a custom servlet necessary? Or is there some clever way to > do this with Turbine that I'm overlooking or don't know about (I am > admittedly still a novice to Turbine)?
Hi Derek, You could write a sublclass of RawScreen that sucks the file in via the SMB protocol (possibly using a custom InputStream) and squirts it down the ServletOutputStream of the response one byte array at a time (ie: data.getResponse().getOutputStream()). Regards, -- Rodney -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
