This isn't a sql server question, per se, but it's definitely related to a sql server ssis project.
Basically, every day I download a bunch of files from an ftp site using ssis.
I want to keep 2 weeks worth of files. Sometimes I load the same files every day, for example:
8/3 download date modified
file20070803.txt 8/3
file20070802.txt 8/3
file20070801.txt 8/3
8/2 download
file20070802.txt 8/2
file20070801.txt 8/2
file20070731.txt 8/2
So the problem is, I can't rely on the file system timestamp to determine the age of the file, as the same files just get copied over, but with a different timestamp.
Just having a hard time figuring out the best way to handle this.
Thanks
Basically, every day I download a bunch of files from an ftp site using ssis.
I want to keep 2 weeks worth of files. Sometimes I load the same files every day, for example:
8/3 download date modified
file20070803.txt 8/3
file20070802.txt 8/3
file20070801.txt 8/3
8/2 download
file20070802.txt 8/2
file20070801.txt 8/2
file20070731.txt 8/2
So the problem is, I can't rely on the file system timestamp to determine the age of the file, as the same files just get copied over, but with a different timestamp.
Just having a hard time figuring out the best way to handle this.
Thanks