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
  • v2.2.1 Release Notes
    • Support For Passive FTP Connections in Send File Over FTP Smart Service
    • Added the following parameters EnterLocalActiveMode and BinaryFileType in Send File
    • Over FTP Smart Service
    1. EnterLocalActiveMode - True Indicates FTP Connection in Active Mode , False indicates Passive Mode.Default Value is False.
    2. BinaryFileType - False indicates Ascii mode ftp file transfer , True indicates Binary Mode File Transfer
    3. Added the output parameters Error and Status in following smart services to denote the status of the smart service file operation performed.

  • Hi,

    What all possible values are being returned by output parameters 'Error' and 'Status'?
    I found datatype for both these parameters is TEXT. So it will be helpful if you can enlist all possible values returned by these 2 output parameters.

    Thank you!

  • Hi Arpit

    As we cannot ensure that the remote path you have shared is a Linux path, please do the following

    We cannot make a change for this issue as the absolute path is required in other cases and security concerns to provide relative path support. We will provide you with a changed .text file with the older code. Please replace the changes to smart service  and make it a private deployment for your use case

    Steps
    1. Download the plugin code and import in eclipse
    2. Replace the attached text file inside appClientModule/com/appian/ps/plugins/sftpsmartservices and rename it to .java
    3. Recompile the plugin file and submit as a private deployment to appian

  • I've tried what we discussed yesterday in the meeting; it's not working.

    Would you please now help with another way? Like you mentioned adding Boolean in the plug-in.

Comment Children
  • Hi Arpit

    As we cannot ensure that the remote path you have shared is a Linux path, please do the following

    We cannot make a change for this issue as the absolute path is required in other cases and security concerns to provide relative path support. We will provide you with a changed .text file with the older code. Please replace the changes to smart service  and make it a private deployment for your use case

    Steps
    1. Download the plugin code and import in eclipse
    2. Replace the attached text file inside appClientModule/com/appian/ps/plugins/sftpsmartservices and rename it to .java
    3. Recompile the plugin file and submit as a private deployment to appian