|Usually, if using the standard FTP client for windows, I just have batchscript write the FTP commands out to a FTP script, then run FTP -s scriptfilename.|
:: build the FTP-script-file using batch, but which is NOT BATCH script!
echo open ftpsite
echo user whatever
echo pwd whatever-else
echo lcd \\FetchFiles
echo get %mmdd%
echo more commands until done with session
ftp -n -s ftpscript
Also, I will assume that your date %date% format includes DOFW as the first four char.s, like: WED 01/23/2016 since otherwise it made no sense.
message edited by nbrane