file path in FTP outbound adapter
Hi All,
How can I customize the file path of my FTP outbound adapter.
I have a custom business operation that extends "EnsLib.FTP.InboundAdapter", in which I need to update the file path of my FTP server location.
Discussion (0)0
Comments
Hi Krishnaveni,
You can create custom class extends Ens.BusinessOperation and use the adapter as FTP Outbound Adapter
ParameterADAPTER = "EnsLib.FTP.OutboundAdapter";
Write the below steps in Method sendStream() As %Status
{
Set path = "/tmp/data" (example)
Set sc = ..Adapter.FilePathSet(path)
// Write your code here
}
Thank you Padmaja.