Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Special characters in password

Sort Posts: Previous Next
  •  02-11-2008, 4:49 PM Post no. 5306

    Special characters in password

    Hello

    I'm getting problems when i logon to FTP-servers with a password containing special characters. (For example åäö).
    The code below generates an exception with the errormessage "NOT LOGGED IN. (replycode 530)"

    Is there someway to avoid this problem?

    Best regards Fredrik

    Xceed.Ftp.Licenser.LicenseKey = "XXXX";
    Xceed.Ftp.FtpClient ftp = new Xceed.Ftp.FtpClient();

    ftp.Connect("XXX.XXX.XXX.XXX", 21);
    try
    {

    ftp.Login("username", "åäö");

    }
    catch (Exception exc)
    {
    MessageBox.Show(exc.Message);
    }

    ftp.ChangeCurrentFolder("MYFOLDER");
  •  02-13-2008, 12:04 PM Post no. 5307 in reply to 5306

    Re: Special characters in password

    What type of server are you using? We noticed some issues regarding the Login procedure with IIS 7.

    Could you try to change the Encoding also, to see if it resolve your problem?

    e.g.,
    ftp.Encoding = Encoding.Default;
    Charles Bérubé-Rémillard
    Technical Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.