Deepak Bala wrote:Would it be possible to share some client and server side code ?
The random malfunction suggests a stream flushing problem or something to do with network connectivity
hi
the
jsp code is quite plain:
this the bean setting
<jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" >
<jsp:setProperty name="upBean" property="filesizelimit" value="999999999" />
<jsp:setProperty name="upBean" property="parser" value="<%= MultipartFormDataRequest.STRUTSPARSER %>"/>
<jsp:setProperty name="upBean" property="parsertmpdir" value="c:/tempUploadBEAN"/>
</jsp:useBean>
and this is more or less the code that stores in the parsetmpdir the temporary file
MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request, null, 999999999);
//here the upload process is over and the file is in a tmp dir
Hashtable files = mrequest.getFiles();
if ( (files != null) || (!files.isEmpty()) ){
UploadFile file = (UploadFile) files.get("coursezipfile");
upBean.setFolderstore(uploadDir);
// here the file is stored in the permanent store, i.e another dir
upBean.store(mrequest,"coursezipfile");
}
the file is stored into a dinamically generated folder.
I believe that it could be a network problem, but I made a
test from a internal network that simulates the internet, because it passws through the same firewall of the external connection... so i'm still confused.
Is there some setting in the firewall I have to check or something like that?
thanks
m