I am working on a project to get a nightly upload from one of our venders. He creates a scheduled task that ftps a file to our ftp server every night. This process that he runs uses FTPS which is what his uses to send to his other customers. So my task really was our server able to accept ftps connections. Our FTP server connects SFTP reliably but when I tried to connect using FTPS which is using an SSL connection I was receiving:
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
So I did some research and I found this site https://ftptest.net. I was able to test my ftps connection to find out what was causing the timeout. These were my results:
I was getting a connection timeout when connecting to MLSD. I checked with the firewall guys and they showed me that port 990 which is the port that FTPS uses, was opened on the firewall. What I did not know was that FTPS uses port 990 to authenticate users then assigns the user a random port for file transport. This is what is known as a passive connection. http://g33kinfo.com
The firewall guys opened the range of ports on the firewall for the ip address of the FTP server.
I ran my test again and was successful.
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
So I did some research and I found this site https://ftptest.net. I was able to test my ftps connection to find out what was causing the timeout. These were my results:
I was getting a connection timeout when connecting to MLSD. I checked with the firewall guys and they showed me that port 990 which is the port that FTPS uses, was opened on the firewall. What I did not know was that FTPS uses port 990 to authenticate users then assigns the user a random port for file transport. This is what is known as a passive connection. http://g33kinfo.com
The firewall guys opened the range of ports on the firewall for the ip address of the FTP server.
I ran my test again and was successful.
