Trying to upload .SHP files into SFTP server using scheduler. I've tried FTPCaller and 'Upload to SFTP server' action (in FME 2019.1 Automation) but it doesn't authenticate and throws this error -
Ensure correct host key is listed in the known hosts file
In Automation, I've uploaded private key in SSH format to resources folder and passed it to 'Path to Hosts file' parameter. It doesn't get authenticated but was able to connect to SFTP server in WinSCP via private key. Not sure if the private key has to be in SSH format or PuTTY format for FME. Firstly can this be done?
Also tried in FTPCaller with 'Upload from an Attribute' transfer type, but not sure of the URL value as it only has hostname and username.
Please suggest. Thanks in advance!