Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

SFTP Functions

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:
    • Send File Over SFTP
    • Receive File Over SFTP
    • Get Remote Folder Contents Over SFTP
    • Create Folder Over SFTP
    • Remove File Over SFTP
    • Receive Files In Folder Over
    • SFTP Rename File Over SFTP
  • SCP:
    • Send File Over SCP
    • Receive File Over SCP
  • FTP:
    • Send File Over FTP
    • Receive File Over FTP
    • Get Remote Folder Contents Over FTP
    • Receive Files In Folder Over FTP
    • Remove File Over FTP
    • Rename File Over FTP
  • FTPS
    • Get Remote Folder Contents Over FTPS
    • Receive File Over FTPS
    • Receive Files In Folder Over FTPS
    • Send File Over FTPS

Functions:

  • getfoldercontentsoverftp
  • getfoldercontentsoverftps
  • getfoldercontentsoversftp
  • All smart services in the package use Secure Credentials Store.
Anonymous
  • 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.

  • Hi, we're using

    • Receive File Over SFTP (Basic Credentials)

    And having the error : 

      * Error creating the local file or directory /see application server log for more details. Error Message: User does Not Have Rights to Perform this Operation

    When trying with system  admin user, it works fine. But with ordinary user it does'nt.

    The ordinary user is included in the security of the process model object.

  • Is there a way to do two factor authentication for SFTP via this smart service?

  • Hi Team,

    We have an issue in SFTP send file over SFTP smart service, we are able to configure the service to send the files from Appian to other system. The connection is successful too but unfortunately we are not getting any error or failure notification process is getting completed with no errors. The other system is not receiving the files what we are generating. Can someone please help us in this scenario. Any suggestions what steps need to follow regarding this to verify every step in process.

  • +1 same issue when using Receive File Over SFTP (Basic Credentials)  . Credentials are correct , file is present and File path is correct . When we tried Receive File over SFTP then we are getting the below :-

    2023-02-02 05:07:51,000 [Appian Work Item - 320402 - execution01 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=2121137, classname=com.appian.ps.plugins.sftpsmartservices.ReceiveFileOverSFTP
    com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.file_transfer=Error copying the remote file to disk. See application server log for more details. Error Message: error]

    Anyone recommendation on how to resolve this ?

  • Hi All,

    We are getting the Error while using Receive File Over SFTP (Basic Credentials)

    String index out of range: -1
    can you Please hep me with it
    Thanks in Advance! 
  • v2.3.0 Release Notes
    • Added a parameter "Remote file name” in the Send file over SFTP Smart service.

  • 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

  • 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.

  • Hi Arpit, I experienced the same issue when I upgraded from 1.6.2 and 2.2.2

    Had to revert to the 1.6.2 version. Is there a proper way to contact Vuram Technology?