using Rebex.Net;

Welcome to using Rebex.Net; Sign in | Join | Help
in Search

Using Rebex.Net

News and announcements about Rebex.NET components

HOWTO: Registering SFTP and FTP/SSL for use in SSIS package

The SFTP and FTP/SSL component included in File Transfer Pack was not especially designed to run inside the SSIS (SQL Server Integration Services). However, with little effort both components can be used from inside the SSIS "script task".

Registering the component for use in IDE for SSIS packages

Registering the component for use in normal VS.NET is easy. Just use "Add Reference" and click on "Browse" button. Unfortunatelly, the "Add Reference" dialog in SSIS IDE does not allow adding reference by browsing the assembly on the disk. It offers only pre-registered assemblies.

To register the component for use in SSIS package:

  1. Copy Rebex assemblies (DLLs) into C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies\  - this should make them appear in the Visual Studio for Applications "References" dialog.
  2. Add Rebex assemblies into Global Assembly Cache (GAC)  - this is needed in order to make it possible for SSIS to run them.
  3. One user has also reported that copying the assemblies to C:\Program Files\Microsoft SQL Server\90\DTS\Binn instead of putting them into the GAC is sufficient too.

Similar problem is discussed in newsgroup post on Microsoft website.

Using the component from SSIS

  1. Add new Script Task
  2. Modify the script via the "Desing script" in "Properties dialog". The Visual Studio for Applications IDE pops up.
  3. Add reference to the dlls in the Project Explorer window. The SFTP and FTP/SSL components should be listed in the Add Reference dialog now.
  4. Add the code to connect, transfer files or do whatever you want as described in SFTP and FTP/SSL tutorials.

Adding the references for the SSIS Script Component (used in data flow task) is similar.

Published Friday, October 03, 2008 3:56 PM by Martin Vobr
Filed under: , , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

espinete said:

Any open source about it ??

Thanks.

October 20, 2008 7:36 PM
 

ruby said:

I initially just dragged the dlls to c:\windows\assembly which thought was enough for the GAC, but it turns out that I needed to place the dlls in

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin

change directories in command prompt to go to the above location (C:\Program Files\Microsoft .....) and run

gacutil.exe /i xxx.dll

November 26, 2008 6:24 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Personal Edition), by Telligent Systems