App Connect

 View Only

SFTP configuration

  • 1.  SFTP configuration

    Posted Fri March 15, 2024 02:29 AM

    Hi all

    Environment is ACE 12.0.7

    I'm trying to configure a small flow to read from/write to a remote SFTP server.

    I have a Fileoutput node as follows:

    FTP policy:

    Fileoutput node:

    and


    The path on the remote server looks like this:

    I had to add the /tmp to the Directory on the Fileoutput Basic tab becasue I can't define /Home/... on the server where ACE is running. 

    The user trace shows this:

    File node 'File Output' in message flow 'PutDiscovery' could not connect to remote 'SFTP' server 'xxxxxxxxx:22'. Reason: 'java.net.ConnectException: Connection timed out (Connection timed out).' 
    The FileInput or FileOutput node failed to open a connection to a remote server. Possible reasons for this failure are that the server could not be contacted, the initial FTP protocol was not observed, or an error situation exists at the server. The reason text is from the detected connection failure. 
    Ensure that:  
    - The server address is correct and is locally resolved to a valid IP address.  
    - The server port is correctly specified (the default port for FTP is 21, and for SFTP it is port 22).  
    - A firewall does not block access to the remote server.

    Any suggestions, please?



    ------------------------------
    Peter Von Hirschfeld
    ------------------------------