file info

This block is part of the files group and was last modified in core v15.0.0.

file info v13.0.9 Updated v15.0.0

Get metadata for a file.

In pins 3 + flow
  • flow
    flow
  • Connection required
    lxdconnection

    The LXD connection

  • Instance name required
    value

    The name of the instance for this action.

  • path required
    value

    Path to the file.

Out pins 6 + flow
  • flow
    flow
  • Connection
    lxdconnection

    The LXD connection

  • Success
    condition

    If successful, this pin returns true.

  • type
    value

    Type of file (file, symlink or directory).

  • mode
    value

    Mode mask

  • modified
    value

    Last modified date

  • Error
    value

    Error message if the file could not be deleted.

A typical wiring for file info: a function trigger starts the flow; create network feeds the connection pin; value feeds the instance_name pin; value feeds the path pin; the flow out pin feeds debug.

Studio canvas example for the file info block: typical wiring for file info.

Version history

Introduced in v13.0.9.

Last modified in v15.0.0.


Back to files Return to the main group to view all sub-groups Back to LXD Return to the group to view all blocks within this group