I need some ideas on a possible solution please
I've got some xml files hosted on a shared server by a well known ISP
I'm trying to delete all xml files within a specific folder using a FTP Dos script since I have to do it very often (clear out old before writing new)
Tried the following:
del *.xml = Getting 550 Invalid filename error
del *.* = Getting 550 Invalid fielname error
rmdir myfolder = Getting 550 Folder not empty (if I try it from one cd level up)
So I called the ISP and they suggested
rm -rf *.xml
But it only works on their side since they have root access and I don't
Next idea might be to loop through the folder and deleting one file at a time with del filename.xml command since doing them specifically by actual filename does work via the dos script.
But I'm not sure how to loop through it using a ftp dos script? Also think the method will be slow.
Any other ideas or special switches I could use?
PS: I don't mind too much deleting and re-creating the entire folder