4149BA1AF7A547E997D10BB038159623
  • Thomas Pollinger
  • 16.06.2017
  • DE/EN

OpenText™ "Neues aus dem Developer Network..."

Hallo liebe Leser,
 
es gibt wieder „Neues“ aus dem OpenText™ Developer Network bzw. aus den Release-Notes von Release 16 :)
 
Implemention of an example for a custom SFTP interface, since Release 16.0 HF3 (16.0.0.1351)

Nach der Installation von Release 16.0 HF3 oder neuer, wird im Pfad:

\OpenText\WS\MS\OTDevNet\SFTP-Rebex

ein Beispiel eines "Custom SFTP Interface" für den Management (RedDot CMS) Server abgelegt.

In der belegten Readme steht folgendes:

Custom SFTP client for SFTP publishing targets

Introduction
If the Management Server's default SFTP client (ComponentPro SFTP http://www.componentpro.com/sftp.net/) is incompatible with a SFTP server, it is supported to replace default SFTP client with a custom implementation of the Management Server ISFtp interface.
 

Install the sample SFTP client
Extract the content of sample interface SFTP-Rebex.zip into the %RDCMS%\..\OTDevNet\SFTP-Rebex folder. This extracts the C# source code and also the compiled version of this sample (Dll\SFTP-Rebex.dll). This sample requires the commercial SFTP client Rebex File Transfer Pack for .NET (Version: 2016R1.1).

The Rebex SFTP client has to be downloaded from the manufacturer (http://www.rebex.net/download/default.aspx). The package can be installed on any computer. After the installation has finished, copy the assemblies contained in the Rebex\Api\bin\net-4.0 structure to the %RDCMS%\..\OTDevNet\SFTP-Rebex\Dll folder.

Now add the line below as child of Integration to the file %RDCMS%\..\Configuration\validate.xml to replace the Management Server's default SFTP publishing client implementation with the custom implementation:

<sftp assembly="%RDCMS%\..\OTDevNet\SFTP-Rebex\Dll\SFTP-Rebex.dll">SFTPRebex.PublishingTarget</sftp>

The change takes effect immediately. It is now possible to create and edit the SFTP publishing target with the existing Management Server user interface.
 

Debugging / Logging
Log message are written to the logger with the name Configuration. If needed the log level can be set to INFO to get information about the interface in use. In case of any error, default interface will be used and the error will be logged. The UI will not display any error. For the default interface, the info log entry looks like this:

Used SFTP interface: OpenText.WS.MS.PublishingTarget.UltimateSFtp

 

Hints for implementing a custom SFTP Interface

  • Reference the assembly OpenText.WS.MS.Api.dll from the Assemblies folder.
  • Implement the interface ISFtp.
  • The methods of the interface are self explaining and the implementation should be pretty straight forward.

© Copyright 2016 Open Text Corporation, Web Site Management Server 16.0 

 

Viel Spaß beim Testen, Lesen und wie immer Stöbern ;)

 

Build your own SFTP (Rebex) Connector for Management Server.


Über den Autor:
Thomas Pollinger

... ist Senior Site Reliability Engineer bei der Vodafone GmbH in Düsseldorf. Seit dem Jahr 2007 betreut er zusammen mit seinen Kollegen die OpenText- (vormals RedDot-) Plattform Web Site Management für die deutsche Konzernzentrale.

Er entwickelt Erweiterungen in Form von Plug-Ins und PowerShell Skripten. Seit den Anfängen in 2001 (RedDot CMS 4.0) kennt er sich speziell mit der Arbeitweise und den Funktionen des Management Server aus.

       

Downloads

 

QuickLinks

 

Channel