---------- Forwarded message ----------
From: Dakota Jack <[EMAIL PROTECTED]>
Date: May 6, 2005 8:50 AM
Subject: Re: struts file upload
To: temp temp <[EMAIL PROTECTED]>


If the stream to the file upload fails, then the file upload must
abort.  I would suggest, again, that you seriously consider writing
your own protocol instead of using HTTP.  Or, you might, as previously
suggested by someone else, use FTP.  You realize you can use FTP with
your server, right?


On 5/6/05, temp temp <[EMAIL PROTECTED]> wrote:
> Now I am using commons file upload .At times I get
> this error message.
>
> Processing of multipart/form-data request failed.
> Stream ended unexpectedly]:
> org.apache.commons.fileupload.FileUploadException:
> Processing of multipart/form-data request failed.
> Stream ended unexpectedly
>
> what causes this  and how to resolve this.
>
>
> --- Dakota Jack <[EMAIL PROTECTED]> wrote:
>
> > An initial view show that you do not set an upper
> > limit on the file
> > size.  Why don't you cheeck and see if there is one
> > in commons?  I
> > suspect there might be.  You can override that, of
> > course.  If you
> > don't want to check, why don't you just override it?
> >
> > Also, have you considered writing your own protocol
> > for this?  I have
> > to agree that HTTP is not the best for this.  Maybe
> > you could use FTP
> > or write one that works best for you.
> >
> >
> >
> > On 5/5/05, temp temp <[EMAIL PROTECTED]> wrote:
> > > Atached is my upload jsp upload ActionForm and
> > > upload Action
> > >
> > > thanks & regards
> > >
> > >
> > > --- Dakota Jack <[EMAIL PROTECTED]> wrote:
> > > > Then let see the code you are using and go from
> > > > there.
> > > >
> > > > On 5/4/05, temp temp <[EMAIL PROTECTED]>
> > wrote:
> > > > >
> > > > > I want to continue on this path and donot know
> > how
> > > > to
> > > > > fix it  please help me .
> > > > >
> > > > > thanks & regards
> > > > >
> > > > > If you really want to continue on this path
> > and
> > > > > > don't know how to fix
> > > > > > it, let me know and I will be glad to help.
> > > > >
> > > > > --- Dakota Jack <[EMAIL PROTECTED]> wrote:
> > > > > > You might want to build your own file upload
> > > > > > application off of
> > > > > > commons or cos.
> > > > > >
> > > > > > The Struts application is not particularly
> > > > > > sophisticated.  However, if
> > > > > > you do, then you have to build your own
> > objects
> > > > to
> > > > > > mine the data,
> > > > > > because Struts has tied the internals of the
> > > > > > RequestProcessor to the
> > > > > > upload application and the last I looked
> > they
> > > > are
> > > > > > going to continue to
> > > > > > do so even with 1.3 although everything else
> > is
> > > > > > abstracted out of the
> > > > > > RequestProcessor in 1.3.  I just rebuilt the
> > > > whole
> > > > > > thing so that I
> > > > > > don't have to worry about the multipart
> > handling
> > > > > > stuff in Struts.
> > > > > >
> > > > > > If you really want to continue on this path
> > and
> > > > > > don't know how to fix
> > > > > > it, let me know and I will be glad to help.
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 5/4/05, temp temp <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > > > I am using struts and trying to upload
> > files
> > > > of
> > > > > > any
> > > > > > > type and size.If the server as well as
> > client
> > > > is
> > > > > > on
> > > > > > > the same PC no issues ,but if I try to
> > > > accomplish
> > > > > > this
> > > > > > > across the network then I am only able to
> > > > upload a
> > > > > > > file if the size is less then 1 MB .Not
> > sure
> > > > what
> > > > > > the
> > > > > > > problem is.
> > > > > > >
> > > > > > > thanks & regards
> > > > > > >
> > > > > > > __________________________________
> > > > > > > Do you Yahoo!?
> > > > > > > Yahoo! Small Business - Try our new
> > resources
> > > > > > site!
> > > > > > > http://smallbusiness.yahoo.com/resources/
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
> > > > > > [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail:
> > > > > > [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > "You can lead a horse to water but you
> > cannot
> > > > make
> > > > > > it float on its back."
> > > > > > ~Dakota Jack~
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail:
> > > > > > [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail:
> > > > > > [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > >
> > > > > __________________________________
> > > > > Do you Yahoo!?
> > > > > Yahoo! Small Business - Try our new resources
> > > > site!
> > > > > http://smallbusiness.yahoo.com/resources/
> > > > >
> > > >
> > > >
> > > > --
> > > > "You can lead a horse to water but you cannot
> > make
> > > > it float on its back."
> > > > ~Dakota Jack~
> > > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> > >
> >
> >
> > --
> > "You can lead a horse to water but you cannot make
> > it float on its back."
> > ~Dakota Jack~
> >
>
> Yahoo! Mail
> Stay connected, organized, and protected. Take the tour:
> http://tour.mail.yahoo.com/mailtour.html
>
>

--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~


-- 
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to