Page 1 of 1

plugins.file.deleteFile not working?

PostPosted: Mon May 20, 2013 5:46 pm
by swingman
Hi all,

I have a strange problem on Servoy 6.1.4 and latest java 7 on Mac OS X. Both from Developer and Servoy Smart Client.
People can import files to the server and after streaming the file to the server, I offer to delete the file using
Code: Select all
plugins.file.deleteFile(f);

returns false and does not delete the file. Is this a new Java security thing? Any way around this?
Same happens with
Code: Select all
file.deleteFile();


Any ideas?

Re: plugins.file.deleteFile not working?

PostPosted: Mon May 20, 2013 6:41 pm
by swingman
Sorry, this was my bug. I was trying to delete the remote file rather than the local one.
Issue solved.