Q2) Do I have to go into every one of these directories, delete every file, and only then will I be able to delete the directory itself?
AFAIK yes; at the very least it's the most portable way of deleting a tree of files & dirs.
What's the best way of doing that ...?
As you said, recursively enter each directory depth-first and delete the files, then delete any empty directories. The "recurse" option of Net::FTP is supposed to do that, but to help you out we need a better description of the problems you're having than "it would appear that I cannot".
In reply to Re: script for deleting html, images and css from server
by Anonymous Monk
in thread script for deleting html, images and css from server
by Aldebaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |