FTP Failure - Connection Closed

0
We are continually getting an error message "The connection was closed by the server. Make sure you are connecting to an SSH or SFTP server."
 
asked 9/29/2021 5:15:09 PM
add a comment

1 Answers

0
Hi Wiwat Leebhaisomboon, 1. Turn off compression. https://doc.componentpro.com/ComponentPro-Sftp/ComponentPro-Net-SecureShellConfig-EnableCompression. 2. Run the sample applications, which are located under the Samples folder. If you can run the samples, it may be possible to resolve the problem by checking your code against the sample code. 3. If no connection is established, check your firewall or router. It must allow outgoing connections to port 22 from your computer. Some firewalls detect well-known applications and let them out. So it can happen that WinSCP or FileZilla connects and your code does not.
 
answered 10/2/2021 4:57:17 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged ultimate sftp or ask your own question.