+1 vote
by (900 points)
edited

Hi,

What is proxy authentication types? Can you describe more?

When to use proxy AuthenticationMethod as a Basic, Ntlm, Digest; And what is best proxy authentication type for AuthenticationMethod.

 var ftpProxy = new FtpProxy(ftpProxyType, proxySetting.Host, proxySetting.Port)
                           {
                               **AuthenticationMethod = FtpProxyAuthentication.Basic**
                           };

If it is not set then it Automatically takes any AuthenticationMethod in Rebex.Ftp Component.

Applies to: Rebex FTP/SSL

1 Answer

+1 vote
by (58.9k points)
edited
 
Best answer

Hello,

the AuthenticationMethod property has effect only for proxies of the FtpProxyType.HttpConnect type:

        FtpProxy proxy = new FtpProxy()
        {
            ProxyType = FtpProxyType.HttpConnect,

            // decide which authentication method will be used for this HTTP CONNECT proxy - defaut is 'Basic'
            AuthenticationMethod = FtpProxyAuthentication.Digest;
        };

To see how the different authentications work, see the following articles at MSDN:

The default AuthenticationMethod is FtpProxyAuthentication.Basic so you only have to set the property if you need a different authentication method.

by (900 points)
edited

Thank You...

...