Filemanager: How to overwrite files on upload?

Hi,
Filegator doesn’t overwrite files with the same name. So updating files is unnessecary complicated. I tried the following, but it didn’t work.
Filegator has the config option since Version 7.3.4

According to changelog Hestia uses 7.13.0 - so it should work.

I did the following:

nano /usr/local/hestia/web/fm/configuration.php

and added

$dist_config["overwrite_files_on_upload"] = true;

just before the end (return $dist_config;)
I also restarted Hestia and php

systemctl restart hestia

It didn’t change anything. Did I something wrong? If yes, how is it done properly to get files overwritten if a file with the same name is uploaded?

Best, Michael

Hi @mandrael

Yes, the right option is this one :wink:

$dist_config["overwrite_on_upload"] = true;
1 Like