get size

Basic data handling: PathGetSize

Returns the size of a file in bytes. This node returns the size in bytes of the file at the given path. Raises an error if the path doesn't exist or isn't a file.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
pathSTRINGrequired

Outputs (1)

NameType
size (bytes)INT