How to download patternized files

Hi All,

I need to connect to a remote server and download a file which is always appended with current date. I could have done this effortless if there is only one file, as I need not consider any date here. I would use

GET <<filename>>

My job is scheduled to run every day to pull only that day's file. But the problem is the remote server would also have previous day's files. How does my script identify which one is today's file.

Does anything exists like

GET Sample%DATE% //Something like this, where the DATE always holds the current date.


The samples are included in the installer. Ask your system administrator why you are unable to download our product.