Skip to main content

Five months ago, I created a small FME application that would login to a state controlled secured FTP server and download a file to a local drive.  Putty was used and files were generated for local use and for the state. That application was working fine, however, the agency that made the request was not able to approve the process in the interim.

Now, five months later, when I run the application in FME, the login is rejected.

If I use the exact same parameters to manually download the file with WINSCP I am able to login and download the file without a problem. Nothing has changed in the setup of the FME.

In the attached image, I show the three transformers and their parameters that I used to download the file.  Five months ago it worked.  Now it does not.  Manually, it works.  Via FME it does not.
I am not sure if this is problem in the FME, an issue with my local network security or an issue at the State ftp site.

The error message is as vague as described in the documentation. 

Hi @robertgilley,

Are you able to confirm the path to PuTTY’s pageant.exe in the SystemCaller? In the screenshot, the path is:

C:\Program Files (x86)\WinSCP\PuTTY

Since the private key needs to be loaded into the authentication agent application for PuTTY before the FTPCaller connects, the first part of the command should be something like:

C:\Program Files\PuTTY\pageant.exe

You can see an example of this in step 5 of option 1 in this article.

In cases of errors with the FTPCaller (and HTTPCaller) transformer, it is useful to enable debug logging (Tools > FME Options > Translation > Log Filter Message > Log Debug) as more detailed information about connection and errors is returned to the log. Try enabling it and seeing if a more useful error appears.


Thank you for the information.  I was able to get the download to work, again, by modifying the SystemCaller parameter command line to the following, as described in the documentation in the article link.

FROM:  
start   "C:\Program Files (x86)\WinSCP\PuTTY\pageant.exe"  "H:\QQQQQQ\PRISTINE\QQQQQQ_Private_Key.ppk    

TO 
start  "" "C:\Program Files (x86)\WinSCP\PuTTY\pageant.exe" --encrypted  "H:\QQQQQQ\PRISTINE\QQQQQQ_Private_Key.ppk 


Reply