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
  • Currently we upgraded our SFTP plugin to version 4.1.0. Configured the plugin to use the File Transfer Configurations with the proper mappings as below  

    'type!{plugins.ps.appiancorp.com/.../}FT_Config'{

    serverHostName:"text value", 

    serverPort: 22,

    scsExternalSystemKey: "text value",

    usePerUserCredentials: false(),

    privateKeyFile: "document"

    }

    we get the following error in the logs

    ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=704, classname=com.appiancorp.ps.plugins.filetransfer.sftp.SendFileOverSFTP

    Caused by: java.lang.ClassCastException: class com.appiancorp.ps.plugins.typetransformer.AppianPrimitive cannot be cast to class com.appiancorp.ps.plugins.typetransformer.AppianObject (com.appiancorp.ps.plugins.typetransformer.AppianPrimitive and com.appiancorp.ps.plugins.typetransformer.AppianObject are in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @789e2dec) at com.appiancorp.ps.plugins.typetransformer.AppianTypeFactory.toJavaObject(AppianTypeFactory.java:174) at com.appiancorp.ps.plugins.filetransfer.AbstractActionOverProtocol.setConfig(AbstractActionOverProtocol.java:54)

    The old version of the plugin with the same credentials works fine

  • I'm working on (SFTP) Get Remote Folder Contents.

    Some one please help me with the File Transfer configurations. I've already gone through the attached document but there is only one line information about this.

  • I got the correct way of creating this FT_Config.

  • Hi there, does anyone know how to set up the "File Transfer Configuration" using the credentials of the user and password

  • Hi Team, Does this Appian SFTP Plug-in has ability to connect to the sftp server using the ssh keys for authentication? 

  • This issue was resolved after host servers were upgraded to their latest version.