powered by Jive Software

Problem With MultiPartRequest in UNIX server

Hi All,

Iam using MultiPartRequest class(cos.jar) for Reading the file comtent from Client Machine.

My coding is working without any problem in My local system.But in testing server it causes some problem.My local system is Window o/s.

Testing Server is UNIX based system.This is the problem iam facing while loading the files:

The files with " XXXXX—SPECReport.xls" names are causing problem.

for E.x: if the file name is 123SPECReport.xls, it causing problem…if i will changed same file name from 123SPECReport.xls to 123Test.xls,it’s working

i got this type of Error message in my window.

java.io.FileNotFoundException: ./SPECReport.xls (The file access permissions do not allow the specified action.)

java.io.FileOutputStream.<init>(FileOutputStream.java:205)

java.io.FileOutputStream.<init>(FileOutputStream.java:157)

com.oreilly.servlet.multipart.FilePart.writeTo(Fil ePart.java:166)

com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:266)

com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:109)

SPECReport.doPost(SPECReport.java:385)

javax.servlet.http.HttpServlet.service(HttpServlet .java:709)

javax.servlet.http.HttpServlet.service(HttpServlet .java:802)

But it’s working for the files with differnt file name…

Please Let me know, what is the problem for this…This one from java side or any UNIX server side settings.

Thanks&Regards

Chaitu