Page 1 of 1
Delete does not delete files
Posted: 31 Jan 2017, 13:27
by sonnenlanze
Hi there (again)
Is it correct that the delete action does not delete the files? How do I make sure that if I delete a file-entry the stored files will also be deleted?
Thanks alot and kind regards!
Vanessa
Re: Delete does not delete files
Posted: 31 Jan 2017, 14:08
by PowerJoe
That is correct, I usually delete the "files" within the component and use the FTP to remove the actual files.
Re: Delete does not delete files
Posted: 31 Jan 2017, 17:54
by sonnenlanze
Hm

That's too bad. The component will be used by "dummies" and I'll never get that procedure into their heads. So I'll be the one and only who can delete files

Thank you for the information.
Re: Delete does not delete files
Posted: 02 Feb 2017, 16:01
by Benno
@sonnenlanze,
set: backend --> Components --> Phoca Download --> Control Panel --> Options --> General -->
Delete Existing Files=Yes
Save & Close
Now existing files in /phocadownload/ folder will be deleted.
PD v3.1.2
J! v3.6.5
Kind regards,
Benno
Re: Delete does not delete files
Posted: 06 Feb 2017, 18:40
by sonnenlanze
Benno, das klingt auf Englisch irgendwie so, als würden beim Setzen des Parameters ALLE Files gelöscht...
Der Parameter bewirkt dann, dass die Original-Datei, die zu dem "Dateieintrag" gehört, auch gelöscht wird, oder? Das gilt aber nicht für die Dateien im phocadownloadpap-Ordner, korrekt? Wenn nur halb "aufgeräumt" wird, dann bringt mir der Parameter leider nichts

Ich muss ja trotzdem noch prüfen, ob die Bilder im Vorschau-Ordner noch da sind...
Re: Delete does not delete files
Posted: 06 Feb 2017, 22:26
by Benno
Hi,
Der Parameter bewirkt dann, dass die Original-Datei, die zu dem "Dateieintrag" gehört, auch gelöscht wird, oder?
Richtig.
Das gilt aber nicht für die Dateien im phocadownloadpap-Ordner, korrekt?
Auch richtig.
Schade, wenns Dir dann doch nicht nutzt...
Freundliche Grüße,
Benno
Re: Delete does not delete files
Posted: 07 Feb 2017, 16:20
by sonnenlanze
Trotzdem tausend Dank für's recherchieren. Es ist halt die Kombination - die Dateien in phocadownloadpap sind genau so groß wie die Originale, also schon mal doppelter Datenverbrauch. Wenn man dann löscht wird nur das Original gelöscht, aber nicht geprüft, ob die Datei auch eine Vorschau hatte... So oder so muss ich manuell "nacharbeiten".

An sich liebe ich die Komponente, aber manche Sachen haben noch ein bisschen Potential

Re: Delete does not delete files
Posted: 07 Feb 2017, 17:37
by Benno
Gerne!
Freundliche Grüße,
Benno