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
Parents
  • Hello, I'm currently experiencing an issue with the Smart Service called "Send File Over SFTP" after upgrading our plug-in from 1.7.0 to 3.0.2.  The error I am seeing in the PM and tomcat logs is "Error transferring file to SFTP server 2: No such file".

    1.7.0 - SendFileOverSFTPwithSCSUsernameAndPasswordV2 - working

    3.0.2 - SendFileOverSFTPwithSCSUsernameAndPasswordV3 - not working

    I understand that there is an even new version of the Smart Service than the V3 above but I would like to understand why my current process model is failing assuming the V3 support is still valid.  I've checked and the file I'm currently trying to send exists within Appian.  Our SCS have also been configured and verified to be correct.  The file path is correct as well.  Could I get some help in figuring out what could be the problem?

    Configuration for Send File Over SFTP

    External System Key: pv!sftpKey

    Server Host Name: pv!sftpHostPort[1]

    Server Port: tointeger(pv!sftpHostPort[2])

    Remote File Path: concat(pv!remoteFilePath, "/", pv!zipDocName)  i.e. "/broadcast/testing.dat.zip"

    Source Document: pv!zipFile

    ** info redacted to just show the error received from the Smart Service**

  • Hi Alison, are there any other error messages when you test V3? Does the log say anything about "Error obtaining document to send path"?

Comment Children
No Data