@nao-pon, I need to manage many SMB shares (from Windows mounted on Linux server) for many users via a local website (all shares are available for all users), therefore I opted to mount the shares directly on the server and then add them as simple local storage in elFinder. All those shares should be permanent unless the remote (Windows) is down.
The only issue I currently experience is that when the machine goes offline, it tooks elFinder several seconds (10+ seconds) to notice this and then the following error shows up:
Invalid backend response.
Error occurred on the server side.
HTTP error 504
Is there a way to run a command (or a PHP/AJAX function) on the server when this error occurs? Then I’d destroy the elFinder instance and create a new one.
Thanks for the help!