commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <mart...@apache.org>
Subject Re: [FileUpload] upload.parseRequest(request) failure
Date Fri, 10 Mar 2006 07:09:25 GMT
On 3/9/06, Vineet Billorey <vineet.billorey@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" <brian@transmorphix.com>
> To: "Jakarta Commons Users List" <commons-user@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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message