Re: Problem posting file and deleting it afterwards

2003-03-16 Thread Oleg Kalnichevski
Olaf, The bug has been already fixed no that long ago. Thanks for pointing it out, anyways, as it made me think that the code should probably be even more protective: protected void sendData(OutputStream out) throws IOException { LOG.trace("enter sendData(OutputStream out)"); i

Problem posting file and deleting it afterwards

2003-03-15 Thread olaf . hahnl
I send a file on the harddisk using class "FilePart" and everything works fine. But it is just a temporary file which should be deleted afterwards sending it, but File.delete() fails and the file remains on the disk (based on alpha 3). As far as I found out, the method "sendData" creates an inputSt