By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,505 Members | 1,034 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,505 IT Pros & Developers. It's quick & easy.

Problem With MultiPartRequest in UNIX server

P: 17
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.j ava:205)
java.io.FileOutputStream.<init>(FileOutputStream.j ava:157)
com.oreilly.servlet.multipart.FilePart.writeTo(Fil ePart.java:166)
com.oreilly.servlet.MultipartRequest.<init>(Multip artRequest.java:266)
com.oreilly.servlet.MultipartRequest.<init>(Multip artRequest.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
Akaley
Mar 12 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.