I'm currently trying to set up a FileTransfer function from a Webvisu to my Raspberry Pi 5 on Codesys 3.5 SP 19 Patch 6.
I went in the files CODESYSControl.cfg and CODESYSControl_User.cfg and added : [CmpWebServerHandlerV3]
AllowFileTransferServices=1
And it seems to be working. However, I cannot access my several Webvisu without putting my login. That's a problem because one of my webvisu is in kiosk mode on the raspberry itself and there is nokeyboard attached, it's just an information screen, but I can't view it.
Is there a wey to enable the File Transfer without requiring to login ?
Thank you for your time
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear eschwellinger, sorry for the late repply. Just saw your answer nor. We are using:
-CODESYS V3.5 SP19 Patch 2
-Compiler version - 3.5.19.20
-Visulaization Profile: 4.6.0.0
-CODESYS Control for Raspberry Pi 64 SL 4.12.0.0
All the best!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a Linux-based system with CODESYS 3.6.22.20, and I need to download some files from the external web panel.
I have enabled: [CmpWebServerHandlerV3]
AllowFileTransferServices=1
In this case, I can see the login page when the web panel connects to the device.
I can't disable the device user management access because I need to prevent software modifications.
Do you have any ideas?
Regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thatβs a classic CODESYS quirk. As soon as you enable AllowFileTransferServices=1, the web server locks down and demands authentication for everything, including WebVisu sessions. Since you're on a Raspberry Pi / Linux, trying to make the built-in CODESYS web server do both secure file handling and unauthenticated kiosk visu is usually a losing battle. A couple of ways to get around this: The cleaner route (separate the jobs): Turn AllowFileTransferServices back off in the config so your kiosk WebVisu opens freely without any login prompts. Then, handle the file download outside of CODESYS β just run a dead-simple Nginx/lighttpd file server or a tiny Python script on the Pi pointed at your export folder (/var/opt/codesys/...). That way your PLC security stays intact, and the kiosk screen just works. If you really want it through CODESYS: Check your Device -> Users and Groups in the IDE. Make sure the Everyone / Anonymous user group actually has explicit view permissions checked for the Visualization. Sometimes when file services are toggled, anonymous users lose the default visu-read rights and get booted straight to the login dialog. URL / Browser trick for kiosk: If the Pi is just opening a local browser on startup, you can sometimes pass the basic credentials in the browser launch script or use a small reverse proxy on localhost to inject the headers automatically so you don't see the popup. Honestly, running a lightweight HTTP/FTP endpoint on Linux (option 1) is by far the least headache.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I'm currently trying to set up a FileTransfer function from a Webvisu to my Raspberry Pi 5 on Codesys 3.5 SP 19 Patch 6.
I went in the files CODESYSControl.cfg and CODESYSControl_User.cfg and added :
[CmpWebServerHandlerV3]
AllowFileTransferServices=1
And it seems to be working. However, I cannot access my several Webvisu without putting my login. That's a problem because one of my webvisu is in kiosk mode on the raspberry itself and there is nokeyboard attached, it's just an information screen, but I can't view it.
Is there a wey to enable the File Transfer without requiring to login ?
Thank you for your time
Sorry about the repeated post by the way...
maybe to add
[CmpWebServerHandlerV3]
CallVisuServicesDirectly=0
would help
Thanks @eschwellinger!
So my settings look like this on CODESYSControl_User.cfg:
[CmpWebServerHandlerV3]
AllowFileTransferServices=1
CallVisuServicesDirectly=0
Sadly, is still asking for user and password as soon webvisu is loaded...
Any clue?
Many thanks!
Dear @eschwellinger, I have been testing for some time and still i cannot find a sollution for this one.
Any hint?
Many thanks!:)
which Visu versions are you using and which runtime version?
Dear eschwellinger, sorry for the late repply. Just saw your answer nor. We are using:
-CODESYS V3.5 SP19 Patch 2
-Compiler version - 3.5.19.20
-Visulaization Profile: 4.6.0.0
-CODESYS Control for Raspberry Pi 64 SL 4.12.0.0
All the best!
Hello everyone,
I have the same problem.
I have a Linux-based system with CODESYS 3.6.22.20, and I need to download some files from the external web panel.
I have enabled:
[CmpWebServerHandlerV3]
AllowFileTransferServices=1
In this case, I can see the login page when the web panel connects to the device.
I can't disable the device user management access because I need to prevent software modifications.
Do you have any ideas?
Regards,
Thatβs a classic CODESYS quirk. As soon as you enable AllowFileTransferServices=1, the web server locks down and demands authentication for everything, including WebVisu sessions. Since you're on a Raspberry Pi / Linux, trying to make the built-in CODESYS web server do both secure file handling and unauthenticated kiosk visu is usually a losing battle. A couple of ways to get around this: The cleaner route (separate the jobs): Turn AllowFileTransferServices back off in the config so your kiosk WebVisu opens freely without any login prompts. Then, handle the file download outside of CODESYS β just run a dead-simple Nginx/lighttpd file server or a tiny Python script on the Pi pointed at your export folder (/var/opt/codesys/...). That way your PLC security stays intact, and the kiosk screen just works. If you really want it through CODESYS: Check your Device -> Users and Groups in the IDE. Make sure the Everyone / Anonymous user group actually has explicit view permissions checked for the Visualization. Sometimes when file services are toggled, anonymous users lose the default visu-read rights and get booted straight to the login dialog. URL / Browser trick for kiosk: If the Pi is just opening a local browser on startup, you can sometimes pass the basic credentials in the browser launch script or use a small reverse proxy on localhost to inject the headers automatically so you don't see the popup. Honestly, running a lightweight HTTP/FTP endpoint on Linux (option 1) is by far the least headache.
Thanks.
If I understand correctly, this is a known historical CODESYS bug
Last edit: lmarmonti 2026-08-18