Michael B Allen
mba2000 at ioplex.com
Thu Jan 13 06:20:12 GMT 2005
Sure. I'll add getOutputStream to SmbFile in the next release though.
On Wed, 12 Jan 2005 11:48:56 -0500
Navin Kumar <navin.kumar at gmail.com> wrote:
> Can the main branch SmbFile override its parent's ((URLConnection)
> getOutputStream just as it does override getInputStream?
> ---------- Forwarded message ----------
> From: Navin Kumar <navin.kumar at gmail.com>
> Date: Thu, 23 Dec 2004 21:18:51 -0500
> Subject: URLConnection
> To: jcifs at lists.samba.org
> I've had to alter the 1.1.5 source (thank god for open-source) to
> acheive what I thought would be basic... that is, (new
> unfortunately, SmbFile inheriting from abstract URLConnection does not
> override the "not supported - derived class has not overridden me"
> [paraphrased] exception thrown by URLConnection.
> It was simple to fix, copying the getInputStream method in
> jcifs.smb.SmbFile and s/InputStream/OutputStream/g fixes it. It's
> stable and works on my side (win2000 & linux) -- is there a way
> someone can put in this change or anyway I can merge it in?
Greedo shoots first? Not in my Star Wars.
More information about the jcifs