Hi,
I've been using this library (C.O.S. from www.servlets.com) in my
current project for quite a while now, around 4 months. I use it to
upload text or zipped text files from 2Kb up to a couple of megabytes
and I've never seen the problem you are talking about. Prior to using
this library, I developed my own which worked just fine until I wanted
more complex features and decided to stop reinventing the wheel :). I've
used this library with Apache as web server, and Apache JServ and now
JRun as servlet engines, in 4 different plattforms (Solaris, HP UX,
Linux, Win95 and Digital Unix). I haven't used PWS or JRun's built-in
web server so I can't help you much in this regard.
Hope this helps, somehow,
Dan
-------------------------------------------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
-------------------------------------------
"Magnus %ERR-PTR-NIL Pointer reference to NIL" wrote:
>
> > > the MultipartRequest class which you can find at
> > > http://www.servlets.com
> > > along with a complete example of how to do, namely
> > > http://www.servlets.com/jsp/examples/ch04/UploadTest.java .
> > >
> > > I have had some problems using this class, it seems that it in
> > > some cases doesn't upload the whole file,
> >
> >You see no errors, just partial file contents? That's odd. If that's
> >the case, it sounds like a web server bug. What server are you using?
> >Can you try things with the JSWDK and see if the files work with the
> >reference implementation?
>
> I've tried with both PWS (Microsoft Personal Web Server) and JRun's built-in
> webserver. Both of them create the bug.
>
> I don't see any error message(s), just partial file contents. Actually not
> even that. The files get corrupted and aren't able to open. Is there perhaps
> a limit in what types of files that can be submitted this way? Is only text
> files allowed? I've got the error when trying with ZIP's, JPEG's, EXE's -
> but not always (=hard to find the error :-( ).
>
> I'll try using the JSWDK and see what happens.
>
> Thanks!
>
> / Magnus
>
> +----------------------------------------------------------+
> | The worst thing is not to get an offer I can't refuse. |
> | The worst thing is if I get an object I can't reuse! |
> +----------------------------------------------------------+
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".