<div dir="ltr">If it fails it will throw an exception, which you should catch and handle.<div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div style="font-size:15px;padding-left:5px"><font color="#000000"><b>-Shon</b></font></div></div></div></div>
<br><div class="gmail_quote">On Fri, Feb 27, 2015 at 7:57 AM, M. D. <span dir="ltr"><<a href="mailto:moder@abv.bg" target="_blank">moder@abv.bg</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hello,<br>
<br>
I have a question for the community.<br>
<br>
Since SmbFile.delete() returns void instead of boolean as is java.io.File, is it safe to assume that successfully returning from SmbFile.delete() would indicate that the file was actually deleted? Would there be any need do additional checks for existance with SmbFile.exists() afterwards?<br>
<br>
Best regards,<br>
M.D<br>
</blockquote></div><br></div></div>