Hi All,
Iam using MultiPartReques t 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.x ls, it causing problem..if i will changed same file name from 123SPECReport.x ls to 123Test.xls,it' s working
i got this type of Error message in my window.
java.io.FileNot FoundException: ./SPECReport.xls (The file access permissions do not allow the specified action.)
java.io.FileOut putStream.<init >(FileOutputStr eam.java:205)
java.io.FileOut putStream.<init >(FileOutputStr eam.java:157)
com.oreilly.ser vlet.multipart. FilePart.writeT o(FilePart.java :166)
com.oreilly.ser vlet.MultipartR equest.<init>(M ultipartRequest .java:266)
com.oreilly.ser vlet.MultipartR equest.<init>(M ultipartRequest .java:109)
SPECReport.doPo st(SPECReport.j ava:385)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:709)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.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
Akaley
Iam using MultiPartReques t 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.x ls, it causing problem..if i will changed same file name from 123SPECReport.x ls to 123Test.xls,it' s working
i got this type of Error message in my window.
java.io.FileNot FoundException: ./SPECReport.xls (The file access permissions do not allow the specified action.)
java.io.FileOut putStream.<init >(FileOutputStr eam.java:205)
java.io.FileOut putStream.<init >(FileOutputStr eam.java:157)
com.oreilly.ser vlet.multipart. FilePart.writeT o(FilePart.java :166)
com.oreilly.ser vlet.MultipartR equest.<init>(M ultipartRequest .java:266)
com.oreilly.ser vlet.MultipartR equest.<init>(M ultipartRequest .java:109)
SPECReport.doPo st(SPECReport.j ava:385)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:709)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.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
Akaley