Skip to content

Eca Helper: File raw exist

Plugin ID: eca_helper_file_exist

Check file exist from a file (public:// or private://) and saves it to a token.

Fields

File path — config key: file_path

Enter the path to the file (e.g., public://myfile.txt or private://secret.doc). Tokens are allowed.

Type: textfield · Required: yes · Default: public://

Token name for content — config key: token_name

Enter the name for the token where the file content will be stored (e.g., "file_exist"). Return 1 if file exist otherwise 0. Please provide the token name only, without brackets.

Type: textfield · Required: yes · Default: file_content