I am using winscp scripts to read .dat files in a SFTP location and store it in my local system.
I am looking to automate this using SSIS.
The filename indicates the created date of file. For eg: filenames will be in the format xxx2000117 today and tommorow it will be xxx20100118.
How can I automate the scripts in such a way that I will be able to read only the current date's file today?
Is there any option for passing parameters into the scripts fromm SSIS? Or can it be done while scripting itself?