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

  • Sure, I'll be waiting for the response.

    Thank you!

  • Hi Arpit ,

    As per our analysis, the code has been changed such that the remote file path will be the directory path of the file to create relative from the logged-in user.

    Please try out the following "" and "/" in the remote file path and share us the results


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

  • 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
  • Hi Team,

    After upgrading plugin from 1.6.2 to 2.2.1, we are facing issues with "Remote File Path" input parameter even after replacing the "Send File Over SFTP" Node.

    Please find more details below and suggest if there is any solution:

    Document: myfile.txt

    Remote File Path: "\myfile.txt_suffix"

    Expected output: File should be created at destination folder with suffix.

    Output: Suffix is being truncated at destination.

    This used to work before upgrading the plugin. Please advice.

    Thank you!

  • Hi, satyaa0001

    The Current Version does not rename the file/change the extension while creating in the sftp server. Please rename the document in Appian before transferring the file to SFTP

  • Hello Everyone, 

                      Is there a way to remove the file using the SFTP Basic credentials

  • Currently, This Feature is Not implemented in SFTP.We will analyze and consider adding this feature to the future releases

  • Hello Everyone,

    I am having issues configuring 'Send file over FTPS'

    I have:
    1. Added the third party credentials to the admin console
    a.Username
    b.Password
    c.Applied the plug in
    2. Added the .pem file to the trusted sites
    3. Process model created
    a.Credentials pointed to third party
    b.Hostname set to ="123.123.123.123"
    c.Port number set to 990
    d.Remote path set to ="\" (also have tried forward slash /)
    e.Document to send i have picked anything from the KC

    However all i get is 'There was an error opening the connection to 123.123.123.123;Connection closed without indication.'

    The destination is a MS Azure FTPS 

    I have had confirmation from the appian support desk they are table to telnet to the destination IP over port 990 with success

    Any help would be very appreciated.

    Note: (123.123.123.123 isn't real, just masking true address from here)

    Thanks

    Luke