Microsoft BI

How to use SFTP by WinSCP

김원배 2016. 11. 11. 02:19

1. access https://winscp.net

 

2. Click! [Installation package]

 

3. You can download setup file

 

4. Install

 

5. Proceed with the installation

 

--------------------------------------------------------------------------------------------------------------------------

.Net assembly

 

1.  You can look "WinSCPnet.dll" after you install WinSCP above.

 

2. Run the following code

 

 

--------------------------------------------------------------------------------------------------------------------------

Development SSIS

 

1.  You can look "WinSCPnet.dll" after you install WinSCP above.

 

2. Click "Variables" on new small window after mouse right click at anywhere 

 

3. Make Variables value by your SFTP information

 

4. Click small icon after double click [Script Task Editor]

   And, Select Variables that you made previous

 

5. Click [Edit Script]

 

6. Add WinSCPnet.dll into "Reference" (The dll file location = C:\Program Files (x86)\WinSCP )

 

7. Add below code into Main() method.