Delete in frontend does not delete file on filesystem

Phoca Download - download manager
bca
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Oct 2019, 09:55

Delete in frontend does not delete file on filesystem

Post by bca »

Hi,
User uploads in frontend works fine for me. The user can also delete the files via the frontend. The file is deleted in the Phoca Download metadata - but NOT in the file system. So next time the user tries to upload a file with the same name to the same category - the user receives an error with file already exists.
Any reason why the file is not deleted on the filesystem when deleted in Phoca Download Frontend?
Regards,
Brian

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Delete in frontend does not delete file on filesystem

Post by Jan »

Hi, see options for these parameters:

- Delete existing files (set to Yes)
- Overwrite existing files (set to Yes)


The behaviour is here, because one file on server can be assigned to more files in database. So deleting file can influence another file instances.

Jan
If you find Phoca extensions useful, please support the project
bca
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Oct 2019, 09:55

Re: Delete in frontend does not delete file on filesystem

Post by bca »

Thank you Jan for a quick reply - I should have noticed that one. Sorry to disturb :-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Delete in frontend does not delete file on filesystem

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply