Is there a way that can do secure ftp using sql server 2005? I need to secure ftp to some server and pull a file. It would be best to do it using T-SQL, if not, any other way? Actually I already googled a bit and below is my results, I have no experience with CLR, some experience with SSIS. I would like to here your suggestions regarding these two approaches or any other way?
- using SSIS with third party component. SSIS is integrated ETL tool of SQL Server 2005. It has a ftp component but it can only do FTP not secure ftp. But there are many third party components developed for SSIS that can do SFTP. SSIS can use these third party components to achieve SFTP function. Then the SSIS task can be scheduled in SQL agent job.
- use CLR (common language runtime), which is using .NET code to extend the ability of SQL server. E.g. using .NET code to generate some class which can do SFTP job, then this can be integrated into SQL server as a stored procedure kind of thing. Then it can be called from within T-SQL code/stored procedure.
Thank you, Nian