File Delete Action

The File Delete Action node deletes one or more files from the file system.

The files are removed from the operating system on the host where the stream is executed (client or server). Each provided file path is processed during the node execution.

Input Parameters

File Path List of full file paths (including filename and extension) of the files to be deleted. Multiple files can be deleted in a single execution.

File Delete Action

Behavior

  • Deletes the specified files from storage

  • Operates on the host running the stream

  • Processes all provided paths sequentially

  • Supports asynchronous execution

Typical Use Cases

  • removing temporary files

  • cleaning up workflow artifacts

  • deleting intermediate transcodes

  • post-delivery cleanup

  • archive preparation

Important Note

The deletion is permanent and bypasses any recycle bin or trash mechanism provided by the operating system. Ensure that only intended files are targeted, as the files cannot be restored by Cosmo after deletion.

Practical Tip

This node is commonly used at the end of automated workflows to remove temporary or working files once processing, transfer, or archiving has successfully completed.

Last updated