I am trying to upload output geotiff files to a folder on a remote site via SFTP from a FME Desktop workspace. The FTPCaller transformer supports the SFTP protocol and I make the assumption that uploading files to an empty folder should work.
My GeoTiff files are first written using a FeatureWriter. The FTPCaller comes next and fetches the GeoTiff file with the "Upload from a File" transfer type.
The translation fails with "Login denied" probably because there is a missing piece of info.
Actually the process works fine on the same machine using Filezilla. I just needed to provide the RSA key to Filezilla in a PEM file and the connection + file transfer work like a charm.
Of course I would like to allow FME to take care of this upload step without depending on Filezilla.
How should I set up the authentication parameter in order to make this possible?
The info that I provided to Filezilla to make the connection work is the following:
- host
- username
- port
- pem file containing RSA key
Thank you!
Olivier