Add .delete property to File output node

Fix to close #162
This commit is contained in:
Dave C-J
2014-02-20 21:00:54 +00:00
parent 0bc4a3bbb1
commit 58774c366d
2 changed files with 34 additions and 26 deletions

View File

@@ -36,11 +36,12 @@
</script>
<script type="text/x-red" data-help-name="file">
<p>Writes <b>msg.payload</b> to the file specified, e.g. to create a log.</p>
<p>The filename can be overridden by the <code>filename</code> property
of the incoming message.</p>
<p>A newline is added to every message. But this can be turned off if required, for example, to allow binary files to be written.</p>
<p>The default behaviour is to append to the file. This can be changed to overwrite the file each time, for example if you want to output a "static" web page or report.</p>
<p>Writes <b>msg.payload</b> to the file specified, e.g. to create a log.</p>
<p>The filename can be overridden by the <code>.filename</code> property
of the incoming message.</p>
<p>A newline is added to every message. But this can be turned off if required, for example, to allow binary files to be written.</p>
<p>The default behaviour is to append to the file. This can be changed to overwrite the file each time, for example if you want to output a "static" web page or report.</p>
<p>If a <code>.delete</code> property exists then the file will be deleted instead.</p>
</script>
<script type="text/javascript">