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
Delete in frontend does not delete file on filesystem
-
- Phoca Newbie
- Posts: 2
- Joined: 18 Oct 2019, 09:55
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Delete in frontend does not delete file on filesystem
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
- 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
-
- Phoca Newbie
- Posts: 2
- Joined: 18 Oct 2019, 09:55
Re: Delete in frontend does not delete file on filesystem
Thank you Jan for a quick reply - I should have noticed that one. Sorry to disturb :-)
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Delete in frontend does not delete file on filesystem
Ok
If you find Phoca extensions useful, please support the project