[jcifs] We have a screenshot!

Michael Dunston michael.dunston at oracle.com
Tue Aug 20 10:18:27 EST 2002


Could you post the code somewhere where I could view it?  I might spot
something in there..

Mike

> -----Original Message-----
> From: jcifs-admin at lists.samba.org [mailto:jcifs-admin at lists.samba.org]On
> Behalf Of Allen, Michael B (RSCH)
> Sent: Monday, August 19, 2002 5:04 PM
> To: 'Michael Dunston'; jcifs at samba.org
> Subject: RE: [jcifs] We have a screenshot!
>
>
> You know it's funny you should ask because resin's implementation
> of getMimeType()
> always returns "application/octet-stream". I was hoping someone
> would enlighten me about
> what I'm doing wrong. Not real good with Servlets yet. If it's
> just broken, I have a small
> class and a mime.map file but it's not obvious to me how one
> should include the
> mime.map file in the distribution (I suppose I could put it in
> the jar and use java.util.zip to
> extract it).
>
> Anyway, the answer is yes, if the link is a directory it will
> display the contents of that
> directory. If the link is a file it downloads the file (currently
> inappropriately as
> application/octet-stream). I would be happy if you adopted the
> code and develop it further.
> It's the kind of thing I'd rather pass off to someone else. Or at
> least you might look at the
> way it uses a { display: block; float: left. There are no tables!
> See attached sample html
> source.
>
> As soon as I do 64 bit SmbFileXxxputStream offsets for files >
> 4GB, add copying
> LastModifiedTime in SMB_COM_CLOSE (really only copyTo will
> benifit I think), and and a
> proper available() method for Named Pipes I'll do a 0.7.0b2.
>
> Mike
>
>  <<Network_Explorer.html>>
>
> > -----Original Message-----
> > From:	Michael Dunston [SMTP:michael.dunston at oracle.com]
> > Sent:	Monday, August 19, 2002 7:49 PM
> > To:	jcifs at samba.org
> > Subject:	RE: [jcifs] We have a screenshot!
> >
> > Michael,
> > 	I am actually looking at doing something quite similar to
> this for an
> > internal app.. When you click on one of the links (in the
> screenshot it is a
> > pdf file) does it send down the mime type and then data (as if a typical
> > download link)?
> >
> > Mike
> >
> > > -----Original Message-----
> > > From: jcifs-admin at lists.samba.org
[mailto:jcifs-admin at lists.samba.org]On
> > Behalf Of Allen, Michael B (RSCH)
> > Sent: Monday, August 19, 2002 4:33 PM
> > To: 'jcifs at samba.org'
> > Subject: [jcifs] We have a screenshot!
> >
> >
> > I uploaded a screen capture of the soon to be released
> > jcifs.http.NetworkExplorer
> > servlet browsing my workstation at the freshmeat project page.
> >
> >   http://freshmeat.net/projects/jcifs/
> >
> > This works with Mozilla on Linux too which might be a real easy
> > way for newbies
> > to browse there Windows files. If the jcifs.http.NtlmHttpFilter
> > is enabled, the users
> > credentials will be used to access SMB resources.
> >
> >
>




More information about the jcifs mailing list