SFTP Add-on/Extension for SSIS to pull file from SFTP in Visual Studio 2015 -


trying create etl process in ssis using visual studio 2015 express pull .csv files sftp. came across add-on older visual studio versions wasnt able locate 'sftp task' vs 2015. there 1 exists?

here found older versions of vs: https://ssisextensions.codeplex.com/

i doing similar on script tasks, not particularly hard code custom task reuse overkill me

using ssh.net nuget (https://www.nuget.org/packages/ssh.net)

my working code upload instead of download, should started:

    using renci.sshnet;     using system.io;      ...          string src = ...;         string dst = ...;         string host = ...;         int port = ...;         string user = ...;         string pwd = ...;          using (var client = new sftpclient(host, port, user, pwd))         {             client.connect();             client.changedirectory(@"test");             filestream srcfile = new filestream(src, filemode.open);             client.uploadfile(srcfile, dst);         } 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -