My script looks something like this:
ftp -i -d -s:C:\Automation\FTP_Config_Files\FTP.txt
My FTP.txt reads like this:
open xx.yy.xx.zz
user
password
lcd Z:\
cd /inetpub/wwwroot
mdelete *
mput *
quit
Basically I want to delete ALL files and folders (about 10 folders and 25 files) in the "/inetpub/wwwroot" directory, however mdelete * is not deleting the directories. Can anyone give any insight on this dilemma I face. I can only do this via cmd for automation purposes (to deter the answers like use FileZilla or CuteFTP). Thank you!