Greetings:

My application uses FileItem in a class which uploads a file from the 
user's local drive to a remote server. It has always worked without a hitch 
but recently was deployed on a box where the default storeLocation is 
write-protected, so it fails. I am interested in being able to specify the 
location where the tmp file is written to avoid this problem but 
storeLocation  is a protected field in FileItem and there is no accessor 
method (that I could find). Do I have to write my own version of FileItem 
or is there a way to set this using this class.

Here is how I am using FileItem:


         FileItem fi = data.getParameters().getFileItem( "filename" );
         InputStream ins = fi.getInputStream();
         String fqFilename = fi.getFileName();

etc.

Thanks,
Bruce




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to