Delete does not delete files

Phoca Download - download manager
sonnenlanze
Phoca Member
Phoca Member
Posts: 29
Joined: 24 Jan 2010, 12:57
Location: Germany

Delete does not delete files

Post 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
PowerJoe
Phoca Member
Phoca Member
Posts: 37
Joined: 03 Sep 2015, 19:00

Re: Delete does not delete files

Post by PowerJoe »

That is correct, I usually delete the "files" within the component and use the FTP to remove the actual files.
sonnenlanze
Phoca Member
Phoca Member
Posts: 29
Joined: 24 Jan 2010, 12:57
Location: Germany

Re: Delete does not delete files

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9610
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Delete does not delete files

Post 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
sonnenlanze
Phoca Member
Phoca Member
Posts: 29
Joined: 24 Jan 2010, 12:57
Location: Germany

Re: Delete does not delete files

Post 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...
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9610
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Delete does not delete files

Post 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
sonnenlanze
Phoca Member
Phoca Member
Posts: 29
Joined: 24 Jan 2010, 12:57
Location: Germany

Re: Delete does not delete files

Post 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 ;)
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9610
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Delete does not delete files

Post by Benno »

Gerne!

Freundliche Grüße,
Benno
Post Reply