ftp filename garbled

茂华 陈 20 Reputation points
2023-07-19T13:39:16.1533333+00:00

dear export,

I have a question,in ftp command window,I put a file to ftp service,the file name is chinese,but it's garbled in ftp command window,so the put command is failure.how can i resolve this problem.thanks

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,614 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 27,831 Reputation points Microsoft Vendor
    2023-07-21T07:19:29.91+00:00

    Hi,

    Are you running ftp.exe in the command prompt? Have you installed the Chinese language pack? Please check if the code page of the console is for Chinese. You change the code page to 936, 54936 or 65001 using the chcp command like chcp 936.

    Please refer to these links for more details.

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chcp

    https://learn.microsoft.com/en-us/windows/win32/intl/code-page-identifiers

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. 茂华 陈 20 Reputation points
    2023-07-21T12:57:13.6166667+00:00

    above is my windows version and error informations

    0 comments No comments