When the private key is not specified, the program terminates with below error. This is only occuring on MacOS.
error: Error while connecting to the FTP server with URL: sftp://user:pass@url:22
at ballerina.ftp.2:initEndpoint(external_functions.bal:19)
ballerina.ftp.2.Client:init(client_endpoint.bal:29)
replace_placeholders:main(replace_placeholders.bal:6)
cause: invalid privatekey: [B@50f3d2be
at ballerina.ftp.2:initEndpoint(external_functions.bal:19)
... 3 more
Description: Consider the following sample.
When the private key is not specified, the program terminates with below error. This is only occuring on MacOS.