I have a file that gets exported daily. It always ends with todays date, i.e. support_20090929.csv. I've tried several variables to pull in the current date each day in my ftp batch file without any luck. Below are some examples of what I've tried. If anyone has any idea how to do this I'd appreciate the help.
put \\slnk1001a_support_&date&.csv /slnk1001a/slnk1001a_support&date&.csv
put \\slnk1001a_support_$YYYYMMDD$.csv /slnk1001a/slnk1001a_support_$YYYYMMDD$.csv
put \\slnk1001a_support_%date:~10,4%%date:~4,2%%date:~7,2%.csv /slnk1001a/slnk1001a_support_%date:~10,4%%date:~4,2%%date:~7,2%.csv