Unable to connect to FileZilla
I have downloaded FileZilla Server. I have enabled the following
1) It is listening to 21
2) It also enables FTP over TLS supporting explicit FTP over TLS.
Now I am trying to use WinSCP .NET library from a console application to connect. These are my session options.
When the breakpoint hits
Can some one help in where is the issue?
1) It is listening to 21
2) It also enables FTP over TLS supporting explicit FTP over TLS.
Now I am trying to use WinSCP .NET library from a console application to connect. These are my session options.
Protocol = Protocol.Ftp, HostName = strFtpServer, UserName = strFtpUsername, Password = strFtpPassword, PortNumber = 990, FtpSecure = FtpSecure.Explicit, FtpMode = FtpMode.Passive
session.Open(sessionOptions);
it waits for several seconds and fails with the message
However in the same time I am seeing a message like this FileZillaWinSCP.SessionRemoteException: 'Connection failed.
Timeout detected. (control connection)
Connection failed.'
(000048)4/2/2021 20:18:53 PM - (not logged in) (::1)> Connected on port 990, sending welcome message... (000048)4/2/2021 20:18:53 PM - (not logged in) (::1)> 220-FileZilla Server 0.9.60 beta (000048)4/2/2021 20:18:53 PM - (not logged in) (::1)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org) (000048)4/2/2021 20:18:53 PM - (not logged in) (::1)> 220 Please visit https://filezilla-project.org/ (000048)4/2/2021 20:19:08 PM - (not logged in) (::1)> disconnected.