Hi Experts,
I have a following FTPs server which I get files from and put files to:
| Parameter | Value |
|---|---|
| Control Port hostname/URL | host1.com |
| Control Port | 21 |
| Data Port hostname/URL | host2.com |
| Data Port | 9900 - 9999 |
Now, my FTPs receiver can successfully put files in the FTPs server. But somehow, the FTPs sender channel cannot poll the directory in the FTPs server, everytime it polls the FTPs server, there's always an error message:
'Error occured while connecting to the FTP server "host1.com:21": java.io.EOFException: Connection closed by remote host.'
Here are the configuration of the FTPs sender adapter:
Connection Security: FTPS (FTP using SSL/TLS) for Control and Data Connection
Command Order: AUTH TLS, USER, PASS, PBSZ, PROT
Data Connection: Passive
I wonder why the FTPs receiver channel has no problem connecting, but the FTPs sender channel receive the "Connection closed by remote host" error message. Is there any way to troubleshoot this?
Thank you,
Suwandi C.