Home Forums .NET libraries Xceed SFTP/FTP for .NET Error when I downloading file whit accent caracter

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

    Hello,

    I have a problem when I want to download a file with accent caracter (eg: é è ê …)

    Could you help me to find an issue.

    Regards

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by seb.49 (had 4759 views)

    User (Old forums)
    Member
    Post count: 23064

    Oups…

    The problem is Reply 550 file not found

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by seb.49 (had 357 views)

    User (Old forums)
    Member
    Post count: 23064

    I have tried your sample but the problem is the same…

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by seb.49 (had 328 views)

    Xceed Support
    Member
    Post count: 5658

    We are reproducing this issue. We created a bug report and we will investigate this. We will keep you posted on any new developments.

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

    User (Old forums)
    Member
    Post count: 23064

    Hello,

    I can see in the forum this probleme has been discovered since 2004…

    I need a solution, your product is good, but it is not free…. And for my customers , I’m french, I can’t ask them don’t use special character in their filename.

    Regards

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by seb.49 (had 370 views)

    Xceed Support
    Member
    Post count: 5658

    After doing some research and some testing, it seems that setting the Encoding to Default resolves the issue.

    e.g.,
    <code>
    FtpClient ftp = new FtpClient();

    try
    {

    http://ftp.Connect( hostname );
    http://ftp.Login( username, password );
    http://ftp.Encoding = Encoding.Default;
    http://ftp.ChangeCurrentFolder( “TestFolder” );

    http://ftp.ReceiveFile( “éèê°.txt”, @”D:\112630\éèê°.txt” );
    }
    finally
    {
    if( http://ftp.Connected )
    http://ftp.Disconnect();
    }
    </code>

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

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