write() method in FileItem(commons-upload.1.1.jar)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vineet_Billorey
Posted On:   Friday, March 10, 2006 07:19 AM

I am using commons-upload.1.1.jar ,

when I call the following command


File saveTo = new File(upload_path+"/"+name);

item.write(saveTo);



It fails showing the exception:


java.io.FileNotFoundException: /var/www/icma/upload/painting_small.jpg (No such file or directory)


Any sugestion please?
Thanks in Advance.

About | Sitemap | Contact