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
  •   There was a temporary issue with the appmarket yesterday that has been resolved so you should be able to try again.

  • Why am I getting this warning sign?

  • Hi, we're using version 4.1.0 and we'd like to be able to enabled Debug/Trace lvl logging for the plugin since we're encountering an issue when moving files to a different location on the filesystem. We've modified appian_log4j.properties with the following entries, but still see no logs in tomcat-stdOut.log:

    log4j.rootLogger=ERROR, CONSOLE, METRICS log4j.logger.com.appiancorp.a2.process.runtime.activities.sftp=DEBUG log4j.logger.com.appiancorp.ps.plugins.filetransfer.sftp=DEBUG log4j.properties.com.appiancorp.ps.plugins.filetransfer.sftp.SendFileOverSFTP=DEBUG

    Can you please let me know the precise entries that we should put in log4.properties file in order to get enhanced logging for the plugin?

  • When we upgraded the plugin from version 3.0.3 to the latest version that is 4.1.0, we started facing the following error:

    2025-01-17 19:24:41,547 [http-nio-8080-exec-804] ERROR com.appiancorp.ps.plugins.filetransfer.sftp.ReturnRemoteFolderContentsOverSFTP - com.jcraft.jsch.JSchException: Auth fail for methods 'publickey,password,keyboard-interactive'

    Please advise.
  • We upgraded the plugin to 4.1.0 and using ssh-key pair authentication. for this configured(username,password,passphrase in admin console and also supplied values to type FT_Config to send and receive files. we are getting below error sftsmartservices.receiveFileOverSFTP - Error connecting to SFTP server com.jcraft.jsch.JSchException: 'argon2' is required, but it is not available.

  • We upgraded the plugin to 4.1.0, now we are getting below error 

    "Algorithm negotiation fail: algorithmName=""server_host_key"" jschProposal=""ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256"" serverProposal=""ssh-rsa"""

    Please let us know how to fix the issue   

  • We upgraded the plugin to 4.1.0, now we are getting below error 

    "Algorithm negotiation fail: algorithmName=""server_host_key"" jschProposal=""ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256"" serverProposal=""ssh-rsa"""

    Please let us know how to fix the issue   

  • SFTP send file smartservice> Remote File Path input parameter expects the complete file path, inluding the name of the file, which you are passing in the source document parameter. Use document() function to get the name and file extension of the source document to append it to the Remote File Path

  • We upgraded the plugin to 4.1.0 and while using the latest smart service '(SFTP) Get Remote folder Contents' replacing the deprecated smart service "Get Remote Directory Contents over SFTP", we got the below error:

    "Algorithm negotiation fail: algorithmName=""server_host_key"" jschProposal=""ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256"" serverProposal=""ssh-rsa"""

    The same smart service (SFTP) Get Remote Folder Contents works fine with the Plugin version 3.0.3.

    Is there a know resolution to this error?

     

  • v4.1.0 Release Notes
    • Fixed the deprecated API's and set the minimum supported version to 23.2