You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Vineet Billorey <vi...@monsoonconsulting.com> on 2006/03/24 13:36:44 UTC

Re: [FileUpload] upload.parseRequest(request) failure Jakarta.apache.org

Yes.(Sorry for 10 days delay in answer, as I was involved in another
project).

The path /var/www/icma/upload already exists on the server.
Kindly guide me.

Vineet Billorey

----- Original Message ----- 
From: "Martin Cooper" <ma...@apache.org>
To: <jb...@jezzper.dk>
Cc: "Vineet Billorey" <vi...@monsoonconsulting.com>
Sent: Tuesday, March 14, 2006 5:36 PM
Subject: Re: [FileUpload] upload.parseRequest(request) failure
Jakarta.apache.org


On 3/9/06, Vineet Billorey <vi...@monsoonconsulting.com> wrote:
>
> OK.
>
> It crosses this step when I included org.apache.commons.io.1.1.jar
>
> But it stops at another line as follows:
>
> File saveTo = new File(upload_path+"/"+name);
> item.write(saveTo);
>
> Showing the following Exception:
>
> java.io.FileNotFoundException: /var/www/icma/upload/painting_small.jpg (No
> such file or directory)
>
> Please consider that /var/www/icma/upload is the server path and the file
> name is:painting_small.jpg


And the path /var/www/icma/upload already exists on the server?

--
Martin Cooper


Please guide me.
>
> Thanking you,
>
> Vineet Billorey
>
>
> ----- Original Message -----
> From: "Brian K. Wallace" <br...@transmorphix.com>
> To: "Jakarta Commons Users List" <co...@jakarta.apache.org>
> Sent: Thursday, March 09, 2006 1:45 PM
> Subject: Re: upload.parseRequest(request) failure
>
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Vineet Billorey wrote:
> > >   I have installed java 1.5 on Windows 2000 platform.
> > >   I am using commons-fileupload1.1.jar and when I call the following
> command
> > >
> > >   List items = upload.parseRequest(request);
> > >
> > >   It fails giving the following error:
> > >
> > >   java.lang.NoClassDefFoundError:
> org/apache/commons/io/output/DeferredFileOutputStream
> > >
> > >   Please guide me.
> > >
> > >   Thanks in advance.
> > >
> > >
> > >   Vineet Billorey
> >
> > You may also want to look at
> > http://jakarta.apache.org/commons/fileupload/faq.html#class-not-found
> >
> > Brian
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.5 (MingW32)
> >
> > iD8DBQFED+QoaCoPKRow/gARApuSAKCzKy7kn8cPlJ+pfinZq784G++OLQCgpFIO
> > /FeRvcLWqsolWUPVz4fsvmU=
> > =T7rf
> > -----END PGP SIGNATURE-----
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> >
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.375 / Virus Database: 268.2.0/275 - Release Date: 3/6/2006
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>



----------------------------------------------------------------------------
----


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.5/284 - Release Date: 3/17/2006



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org