+1 vote
by (130 points)
edited

I just purchased the SFTP package since I needed to do secure ftp transfers for one of my new customers. So I downloaded the package and the secure ftp works fine. But now, my regular Rebex.Net.Ftp.dll (downloaded in 2008) won't work because it's version 2.5.3127 and it relys on the Rebex.Net.ProxySocket.dll which I now have 3 versions of (1) Rebex.FTP (2) FTP/SSL and now (3) Rebex.Net.SFtp.dll. I have a class library that needs to use regular FTP and SFTP. Here's the scenario:

Class Libary B needs to use Rebex.Net.Sftp.dll for Secure Ftp Class Libary B needs to use Rebex.Net.Ftp.dll for regular Ftp

These two dlls have dependencies with the same file name that are now different versions and won't work together.

I do not want to have to buy the upgrade to fix this issue. How can I resolve this issue?

UPDATE: I have already received an email back from support to resolve this issue. They were very responsive and extremely helpful.

Applies to: Rebex SFTP, Rebex FTP/SSL

1 Answer

0 votes
by (13.3k points)
edited

Both SFTP and FTP references the Rebex.Net.ProxySocket.dll. .NET does not allow using two different versions of the same assembly within the same application. If you have to use both SFTP and FTP in the same app you have to use the both assemblies with the same build number (because they reference the same Rebex.Net.ProxySocket.dll).

Let's consider following example. User has a valid license for following components:

  • Rebex.Net.Ftp.dll version 2.5.3127.0 (build number 3227, active support contract)
  • Rebex.Net.Sftp.dll version 1.5.2800.0 (build number 2800, expired support contract)

There are following options:

  • Downgrade to the newest build supported by both components. All users with a valid license can download all older versions of the licensed component (just login to Members area and navigate to Download archive). This would be free of charge, but you'll lose all new features and bugfixes released between builds 2800 and 3227.

  • Renew the support contract for the older component so you will be able to download the most current version. It will give you the most current version but has one drawback. Your support contract for SFTP and FTP will have different end dates. It might again result in situation in which you'll be able to download the latest version for only one of the components.

  • Upgrade to the Rebex File Transfer Pack (pack of FTP and SFTP with discounted price) or Rebex Total Pack (all Rebex components in one pack). This will ensure that you always have compatible versions of the components available. Contact us at support@rebex.net for upgrade pricing or log on to your account at www.rebex.net/protected to upgrade directly.

...