Load File Node
The LoadFile Node allows for the uploading and processing of local files. It supports loading files directly within the graph, making it easier to work with file data dynamically.
Inputs
- URL: Input for specifying the file URL, if applicable.
Outputs
- Result: The content of the loaded file.
- Length: The size of the file content in characters.
- Type: The MIME type of the loaded file, indicating the file format.
Properties
URL: Optionally specify a URL to load the file from. Primarily used for loading files through user interaction.
Usage
To use the LoadFile Node, configure the optional URL property or use the custom widget to upload a file directly. Upon activation, the node reads the file content, providing the data, its length, and MIME type as outputs.