Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Jonatantwn

Downloading files containing specific path on the remote server

Hi Forum!

Does anyone know, if it is somehow possible to target files, that contains a path name accross multiple directories?

For an example:

Folder:/
Domain.com/content/system/unwanted/malicious.php
Domain.com/content/assets/objects/unwanted/anothermalicious.php

Is it possible to create a deletion process that checks the paths of all files, and then deletes them if the path contains unwanted?

Currently i have no example of code to execute this, i am struggling to find documentation regarding if this is even possible.

Can anyone point me in the right direction? 🙂

Best regards
Jonatan