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.
Discussion posts and replies are publicly visible
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?
sandrap5933 said: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?
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!
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.
sandrap5933 said: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).
Yes, I just passed the following value "/" which is the root directory and it continues with the error.
Did you check the tomcat-stdout log file for additional details?
Only the error that I attached in the description appears.
What exactly is the communication protocol? There is SFTP and FTPS, and it is not the same.
Hi Stefan,The protocol is FTPS, sorry if the value of the key may be confusing, we will change it to make it more obvious.
Greetings and thank you!