473,503 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem With MultiPartRequest in UNIX server

17 New Member
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
0 1275

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

Similar topics

3
4053
by: cv | last post by:
Hello All, I have used MultipartRequest like the following to upload images. MultipartRequest multi = new MultipartRequest(request, "../webapps/coreprogram/dealerlogos", 1024 * 1024); It...
6
6937
by: jajoo | last post by:
Hi, I have a problem with using *.jar files with Tomcat 5.0.16. I place the jar in the lib directory of the application but server throws Exception. java.lang.NoClassDefFoundError:...
1
1930
by: John C. Wallace | last post by:
I have written a Java application that will upload files and fields to a MultipartRequest servlet. However, I now need to do the same in C++. Although very similar, I do not know how to go about...
10
12170
by: Jim H | last post by:
I have a UDP socket that sends out a request on a multicast socket and waits for a response. This client is not listening on a multicast IP but the local IP. The server (UNIX) responds to the...
28
2999
by: Tamir Khason | last post by:
Follwing the struct: public struct TpSomeMsgRep { public uint SomeId;
11
2422
by: E.T. Grey | last post by:
Hi, I have an interesting problem. I have a (LARGE) set of historical data that I want to keep on a central server, as several separate files. I want a client process to be able to request the...
7
2053
by: programming | last post by:
Hi all, i have been having trouble with a login script that works on my windows machine, however when i upload it to the Unix server through VPN, the same script won't work! It won't parse...
60
4006
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
On May 3, 8:09 am, apati...@gmail.com wrote: A programmer that uses Vista? :O Vista is a hog of an operating system. Downgrade to Windows XP or get yourself a Linux distro.
3
3562
oll3i
by: oll3i | last post by:
i try to upload a file using MultipartRequest i want to get the name of the file uploaded with html form and display it on jsp page (just for now to see if it works) in server.log i see Error...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.