Page 1 of 1

Delete in frontend does not delete file on filesystem

Posted: 18 Oct 2019, 09:59
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

Re: Delete in frontend does not delete file on filesystem

Posted: 18 Oct 2019, 15:45
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

Re: Delete in frontend does not delete file on filesystem

Posted: 19 Oct 2019, 09:20
by bca
Thank you Jan for a quick reply - I should have noticed that one. Sorry to disturb :-)

Re: Delete in frontend does not delete file on filesystem

Posted: 21 Oct 2019, 13:01
by Jan
Ok