Delete file

../../../../_images/delete.svg

Delete a file

Documentation

Deletes one file.

Definition

Input ports

port1

datasource

File to delete

Output ports

port1

datasource

Path to deleted file

Configuration:
Delete enclosing folder if empty (delete_folder)

If a file that is removed is the last in that folder, the folder is removed. If this operation fails, no exception is raised.

Do not raise exceptions (error)

If a file operation fails, do not raise an exception

class node_file_operations.DeleteFile[source]

Example flows