简体   繁体   中英

How to use the new Biztalk SFTP Adapter from an orchestration through a Dynamic Send Port?

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?

The official documentation is here https://docs.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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM