Home Forums .NET libraries Xceed SFTP/FTP for .NET Problem connecting to SFTP Server

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20833 |

    Hi,

    Given the following code:

    FtpClient ftpClient = new FtpClient();

    ftpClient.PassiveTransfer = false;
    ftpClient.Connect(
    “HOSTNAME”, 22,
    AuthenticationMethod.Ssl,
    VerificationFlags.None,
    null);

    I always get the exception “The command socket was disconnected from the FTP server.” The connection to the systems works fine using another SFTP client.
    Using PassiveTransfer = true makes no difference.

    Thanks for any help!

    Sincerely

    Joerg Fischer

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Joerg (had 4818 views)

    User (Old forums)
    Member
    Post count: 23064

    You mention using other SFTP client. If your server requires SSH protocol, our library does not support it, so you will not be able to connect to the server. Our component support SSL/TLS secure protocol, and your server must support this protocol if you want to use our product.

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by André (had 3456 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi Andre,

    Does this mean that even if you purchase Xceed FTP 4.1 which claims to have SFTP SSH for FTP will not support this? Or i am looking at a very old post?

    Would appreciate if there is any sample code with Xceed FTP 4.1 with SFTP communication.

    Regards Ritesh

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Ritesh (had 1273 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi Andre,

     I’m also interesting in it. 

    Is it possible to use SFTP (SSH) with xceed?

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by bob (had 309 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi bob,

    None of our current controls support SFTP, however we do have a new SFTP component in the works. We have a release planned in early November, and if everything goes as planned it should be included in that release. Thank you for your patience.

     

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Diane [Xceed] (had 5163 views)

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.