WagoAppMail Attatchment is not available

Hello, I am trying to sent mail via WagoAppMail.FbSmtpSendFile, but it doesn’t send it, I also configured mails without attachment and they work. I am saving files in /home/codesys_root/PlcLogic/etc1/etc2/example.txt. I can check them via ssh no problem. If any one knows how can I make it work I would be thankful. If not then I will have to change my approach to sending archivised data, maybe from the controller using some bash script with FSTP (Also don’t know if it will work, but I bet it will).

what is the path you are using in codesys ?
What is the permission of the files ? (In SSH do a “ls -alh” to check it)
It seem the program cannot access the file.

/home/codesys_root/PlcLogic/Archiwizacja/LicznikiEnergii/

-rw-rw-r-- 1 root admin 720 Jul 31 12:00 LicznikiEnergii_2026-07.txt
-rw-rw-r-- 1 root admin 446 Aug 3 12:00 LicznikiEnergii_2026-08.txt

does it also need the x permission in order to work? I don’t have access to my PFC200 right now.