User bio
404 bio not found
Member since Jul 5, 2019
Posts:
Replies:
Worked with the WRC and we identified the following configurations/changes were required to resolve this issue:
- Specify the SSLConfig setting in Ensemble
- Had to include a * in the setting for legacy FTPS (otherwise it would not connect at all)
- Ensemble does not support session resumption (if required by the vendor hosting the server).
- Reached out to vendor for them to disable it.
- Additionally there were two FTP commands that needed to be sent PBSZ 0 (Protection Buffer Size) and PROT P (Protection Data Channel). These need to be run after the connection is made but before the write/save of the file on the server.
do ..Adapter.Connect()
do ..Adapter.FTP.sendCommand("PBSZ 0")
do ..Adapter.FTP.sendCommand("PROT P")
Thanks
Hey Eduard,
Thanks so much for the quick response!
#1. It looks like creating a new App.FTP.InboundAdapter class extending the EnsLib version and removing the adapter settings in there worked. I also removed those property/SETTINGS from my App.FTP.InboundService Class as mentioned.
#2. $classname(..Adapter.FTP) was returning the FTPInboundAdapter but using ..Adapter.FTP.%sftpSession.MkDir() did work.
Thanks!
Certifications & Credly badges:
Tey has no Certifications & Credly badges yet.
Global Masters badges:
Tey has no Global Masters badges yet.
Followers:
Tey has no followers yet.
Following:
Tey has not followed anybody yet.
Received reply from WRC - In the OnProcessInput method, you can extract the FileLocation from the FTP.Inbound Adapter by using <inputstream>.Attributes("FTPDir").