Skip to main content
January 23, 2024
Question

FTPS Smart service fails when retrieving directory information

  • January 23, 2024
  • 19 replies
  • 0 views

Good morning,

We are trying to recover directory information with the Get Remote Folder Contents smart service (FTPS).

The configuration we have is:

fileTransferConf:

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

serverHostName: "ftp.prueba.es",

serverPort: 21021,

scsExternalSystemKey: "sftp_prueba_appian",

usePerUserCredentials: false()


}

Server File Path: "/DEV/"

* In the user console we have configured the scsExternalSystemKey with the corresponding user and pass.

The error obtained is:

ERROR com.appiancorp.ps.plugins.filetransfer.ftps.GetRemoteFolderContentsOverFTPS - org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.

The credentials are the same ones we are using in WinSCP and FileZilla. Both work fine to connect to FTPS site. We have tried adding documents so that the route is like this:

"/DEV/test.docx"

Has anyone faced the same problem?

A greeting and thanks in advance.

    19 replies

    stefanhelzle0001
    January 23, 2024

    Do you run WinSCP or FileZilla on the exact same machine as the Appian installation runs on? I assume this is not the case. Did you check for any firewall or other IP filters anywhere on the way from Appian to that FTP server?

    January 23, 2024

    Good afternoon Estefan,

    As you say, I have done the tests with WinSCP and FileZilla from my PC. The Appian environment we are using is in the cloud.
    And FTP is open to the internet, so anyone with connection data can access it.

    I don't know if you can think of anything else.

    Thank you!

    stefanhelzle0001
    January 23, 2024

    Did you check the tomcat-stdout log file for additional details?

    mikes0011
    Brainy
    January 23, 2024
    In the user console we have configured the scsExternalSystemKey with the corresponding user and pass.

    Can you confirm that the "key" listed in the third-party credential store is *exactly* "ftp_appian"?  This property is not editable (afaik) after it's been initially configured.

    Is "prueba.es" the FULL host name?  As in, you're sure it's not "sftp.prueba.es", or some other permutation along those lines?

    Have you tried passing the path as just "/" for starters?

    January 23, 2024

    Good afternoon Mike,

    Sorry, the values ​​were not correct in the detail of the post (they have already been changed) but they are correct in the configuration of the administration console and the smart service.
    We have tried what you mention about the bar and we still have the same error.

    Thank you!

    mikes0011
    Brainy
    January 23, 2024
    We have tried what you mention about the bar

    to be clear, it should be a single forward slash (the root directory), not a bar (which is an altogether different special character).