Reputation: 11
With the new Biztalk 2013, I would like to integrate the new SFTP adapter into one of my orchestration. I did this previously with the BLogical Codeplex component.
MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.host) = "server";
MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.portno) = 22;
MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.user) = "user";
How can I do this with the new Biztalk SFTP Adapter?
Upvotes: 1
Views: 1506
Reputation: 11527
The official documentation is here https://learn.microsoft.com/en-us/biztalk/core/sftp-adapter Unfortunately it doesn't go into details about the using it as a dynamic send port.
It does follow the patterns of the other adapters, so you need to have
// Set base properties
MySendPort(Microsoft.XLANGs.BaseTypes.Address) = "sftp://Server[:Port]/FolderPath/";
MySendPort(Microsoft.XLANGs.BaseTypes.TransportType) = "SFTP";
// Set the SFTP adapter specific properties
MsgOut(SFTP.Username) = "user";
...etc
The properties available are those listed here How to Configure an SFTP Send Port or for BizTalk 2016 and up SFTP Adapter
except for Server, FolderPath & Port (as you set those in the address) and ConnectionLimit.
You might also need to look at configuring the handlers for your send Dynamic Send port Dynamic Send Port Handler is Configurable
Also worth noting is that this SFTP adapter does not currently support connections through a proxy. social.msdn.com
Upvotes: 1