Hi,
Just noticed that when a user deletes an uploaded file in front end, it removes it from the list, but the file remains in CPANEL which then results in a File already exists error when trying to upload the same file again. (after it has been deleted)
Why does it not totally delete a file when a user deletes it in front end?
thanks
PS: New to Phoca Download, and trying to setup a Teacher uploading files in Categories (as Classrooms) for students to download.
I managed to achieve this, but noticed that it keeps the files even after deletion.
Deleting files in front end keeps them the cpanel
-
- Phoca Newbie
- Posts: 2
- Joined: 21 Feb 2021, 19:21
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Deleting files in front end keeps them the cpanel
Hi, see similar posts in this forum. Mostly you can upload files to your webserver with different methods and use the source file on more places in system. Even in Phoca Download you can use more items in different categories and one source file on server. This is, why Phoca Download does not delete the source files.
You can change it in Options, just enable the paramet "Delete existing files"

Jan
You can change it in Options, just enable the paramet "Delete existing files"

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 21 Feb 2021, 19:21
Re: Deleting files in front end keeps them the cpanel
Thanks for that.
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Deleting files in front end keeps them the cpanel
Ok
If you find Phoca extensions useful, please support the project