FluentFTP - Getting error while connecting “Timed out trying to read data from the socket stream!”

后端 未结 2 1029
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 09:43

Getting

Timed out trying to read data from the socket stream!

when connecting to FTP using FluentFTP.

Below is the sourc

2条回答
  •  抹茶落季
    2021-01-13 09:50

    In FileZilla, you are connecting to implicit FTPS port 990.

    If you also use this port in C#, you cannot use FtpEncryptionMode.Explicit.

    Use FtpEncryptionMode.Implicit.

    Though you better connect to port 21 and keep using FtpEncryptionMode.Explicit, if that port is available.

提交回复
热议问题