SFTP Smart Services

Overview

Contains multiple Smart Services for interacting with a remote file server via SFTP, FTP, or SCP.  Using these services, an Appian application can be configured to send and receive files, folders, and metadata in a process.  Features support for zlib compression.

Key Features & Functionality

Smart Services included:

  • SFTP:
    • Remove Directory Over SFTP (Basic Credentials)
    • Send File Over SFTP
    • Send File Over SFTP (Basic Credentials)
    • Receive File Over SFTP
    • Receive File Over SFTP (Basic Credentials)
    • Rename File Over SFTP
    • Get Remote Directory Contents Over SFTP
    • Get Remote Directory Contents Over SFTP (Basic Credentials)
    • Create Directory Over SFTP
    • Create Directory Over SFTP (Basic Credentials)
  • SCP:
    • Send File Over SCP
    • Receive File Over SCP
  • FTP:
    • Send File Over FTP
    • Receive File Over FTP
    • Receive Folder Over FTP
  • FTPS
    • Receive Folder Over FTPS
    • Send File Over FTPS (Basic Credentials)

All smart services in the package use Secure Credentials Store.

Anonymous
Parents
  • Hi team!

    Using 'Get Remote Directory Contents Over SFTP' smart service we´re seeing the following error:

    2023-01-24 10:06:45,716 [ajp-nio-0.0.0.0-8009-exec-2111] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=7559, classname=com.appian.ps.plugins.sftpsmartservices.GetRemoteDirectoryContentsOverSFTP
    com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.sftp_conn=Error establishing SFTP connection. Confirm your hostname, username and password. See application server log for more details. Error Message: Session.connect: java.io.IOException: End of IO Stream Read]
    at com.appiancorp.suiteapi.process.exceptions.SmartServiceException$Builder.build(SmartServiceException.java:145)
    at com.appian.ps.plugins.sftpsmartservices.GetRemoteDirectoryContentsOverSFTP.createException(GetRemoteDirectoryContentsOverSFTP.java:203)
    ......................
    Caused by: com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read
    at com.jcraft.jsch.Session.connect(Session.java:565)
    at com.jcraft.jsch.Session.connect(Session.java:183)
    at com.appian.ps.plugins.sftpsmartservices.SFTPConfig.connect(SFTPConfig.java:179)
    at com.appian.ps.plugins.sftpsmartservices.GetRemoteDirectoryContentsOverSFTP.run(GetRemoteDirectoryContentsOverSFTP.java:66)

    Could you help us to identify the error?

    This communication has been in working until last week, so we know that its not a problem with hostname/username/pw.

    Thanks in advance.

  • Hello ,

    Have you upgraded the plugin in recent days? Check for the connection in WinSCP tool with the same credentials provided to smart service.

    Thanks

  • Also we have tested the conection to the new customer ftp version in Filezilla and it works, the problem is in Appian.

  • Hi ,

    Yes, we have the latest version of the plugin.

    We have tested it with an old customer ftp version and it works, but with the new customer ftp version it doesnt.

    The main difference between that versions is that with the new ftp version, only the comunications with TLS 1.2 or higher are supported, so, supports the plugin TLS 1.2 or higher?

    Thanks in advance.

Comment
  • Hi ,

    Yes, we have the latest version of the plugin.

    We have tested it with an old customer ftp version and it works, but with the new customer ftp version it doesnt.

    The main difference between that versions is that with the new ftp version, only the comunications with TLS 1.2 or higher are supported, so, supports the plugin TLS 1.2 or higher?

    Thanks in advance.

Children
No Data