Unable to connect to FileZilla

Advertisement

lavanyadeepak
Joined:
Posts:
2
Location:
Irving Tx

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.
Protocol = Protocol.Ftp,
HostName = strFtpServer,
UserName = strFtpUsername,
Password = strFtpPassword,
PortNumber = 990,
FtpSecure = FtpSecure.Explicit,
FtpMode = FtpMode.Passive
When the breakpoint hits session.Open(sessionOptions); it waits for several seconds and fails with the message
WinSCP.SessionRemoteException: 'Connection failed.
Timeout detected. (control connection)
Connection failed.'
However in the same time I am seeing a message like this FileZilla
(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.
Can some one help in where is the issue?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: Unable to connect to FileZilla

Can you connect with WinSCP GUI running on the same machine? Or with any other FTP client? If you can, post its logs file, and the session log file from your code as well (Session.SessionLogPath).

Reply with quote

Advertisement

You can post new topics in this forum