I've got CozyRoc installed for doing SFTP (among other things) on SQL Server 2012. I'm going to create a job that runs a SSIS package daily. With this package I want to download from a remote site only those files that have been modified today. I can't find any documentation on the CozyRoc SFTP task. Any suggestions?
Thanks!
答案 0 :(得分:0)
我相信我已经找到了可行的方法。在我的SSIS包中,我创建了一个名为“ RemoteFilter”的变量。在此,我输入以下表达式:
"ModifiedTime >= #" + (dt_wstr,30)(dt_date)(dt_dbdate)dateadd("d", -4, getdate()) + "#"
然后在SFTP任务中,我说RemoteFilter是一个变量,然后选择了我刚刚创建的变量。我敢肯定,有一种更优雅,更简单的方法可以做到这一点,但这是可行的。 :)