Hi there Forum!
I am struggling with re-purposing this code to instead of downloading data, to simply delete it, and let me know if the delete process succeeded.
The goal is, to be able to initiate a delete process on a server, cleaning up unwanted folders.
( These folders are domain content on a webserver ).
The purpose of the script os to allow me to target the two unwanted ones, and delete all their content and the folder itself.
This example refers to deletion commands, that i cannot seems to make work in my case:
The current working code i am using to download files from a specific folder is this:
I would really appreciate some ideas on how to make this work.