@echo off
>file.txt echo open ftp.mysite.com
>>file.txt echo username
>>file.txt echo password
>>file.txt echo cd /directory
>>file.txt echo binary
>>file.txt echo del %1
>>file.txt echo disconnect
>>file.txt echo bye
ftp -i -s:"file.txt"
del "file.txt"
/gustav
You can use
delete filename.ext
or
mdelete *.ext