FTP File transfer With Chinese Characters












1















When I'm trying to send files with Chinese characters over ftp, I am getting:



500 ERROR (Internal Server ERROR) 


through my backend code; It's working fine for english characters but not for Chinese. What is the best possible way to send those files with Chinese names over FTP?
Thanks in advance hope best will come.










share|improve this question

























  • Which operating systems on both ends and which ftp products for server and client.

    – harrymc
    Jan 30 at 15:19











  • Server deployed on AWS server and for client its windows OS

    – NEEL KANTH SHARMA
    Jan 31 at 8:06











  • Chinese-character files should be transferred using binary mode, e.g. per jscape.com/blog/… and many many others.

    – Debra
    Feb 9 at 0:43
















1















When I'm trying to send files with Chinese characters over ftp, I am getting:



500 ERROR (Internal Server ERROR) 


through my backend code; It's working fine for english characters but not for Chinese. What is the best possible way to send those files with Chinese names over FTP?
Thanks in advance hope best will come.










share|improve this question

























  • Which operating systems on both ends and which ftp products for server and client.

    – harrymc
    Jan 30 at 15:19











  • Server deployed on AWS server and for client its windows OS

    – NEEL KANTH SHARMA
    Jan 31 at 8:06











  • Chinese-character files should be transferred using binary mode, e.g. per jscape.com/blog/… and many many others.

    – Debra
    Feb 9 at 0:43














1












1








1


1






When I'm trying to send files with Chinese characters over ftp, I am getting:



500 ERROR (Internal Server ERROR) 


through my backend code; It's working fine for english characters but not for Chinese. What is the best possible way to send those files with Chinese names over FTP?
Thanks in advance hope best will come.










share|improve this question
















When I'm trying to send files with Chinese characters over ftp, I am getting:



500 ERROR (Internal Server ERROR) 


through my backend code; It's working fine for english characters but not for Chinese. What is the best possible way to send those files with Chinese names over FTP?
Thanks in advance hope best will come.







ftp character-encoding






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 30 at 15:29









TDK

34513




34513










asked Jan 30 at 15:13









NEEL KANTH SHARMANEEL KANTH SHARMA

62




62













  • Which operating systems on both ends and which ftp products for server and client.

    – harrymc
    Jan 30 at 15:19











  • Server deployed on AWS server and for client its windows OS

    – NEEL KANTH SHARMA
    Jan 31 at 8:06











  • Chinese-character files should be transferred using binary mode, e.g. per jscape.com/blog/… and many many others.

    – Debra
    Feb 9 at 0:43



















  • Which operating systems on both ends and which ftp products for server and client.

    – harrymc
    Jan 30 at 15:19











  • Server deployed on AWS server and for client its windows OS

    – NEEL KANTH SHARMA
    Jan 31 at 8:06











  • Chinese-character files should be transferred using binary mode, e.g. per jscape.com/blog/… and many many others.

    – Debra
    Feb 9 at 0:43

















Which operating systems on both ends and which ftp products for server and client.

– harrymc
Jan 30 at 15:19





Which operating systems on both ends and which ftp products for server and client.

– harrymc
Jan 30 at 15:19













Server deployed on AWS server and for client its windows OS

– NEEL KANTH SHARMA
Jan 31 at 8:06





Server deployed on AWS server and for client its windows OS

– NEEL KANTH SHARMA
Jan 31 at 8:06













Chinese-character files should be transferred using binary mode, e.g. per jscape.com/blog/… and many many others.

– Debra
Feb 9 at 0:43





Chinese-character files should be transferred using binary mode, e.g. per jscape.com/blog/… and many many others.

– Debra
Feb 9 at 0:43










2 Answers
2






active

oldest

votes


















1














The File Transfer Protocol, as defined in
RFC959 and later,
is one of the oldest protocols on the Internet, using as primary character set
the 7-bit ASCII.
International characters need a protocol that uses Unicode.
Such a protocol is the
SSH File Transfer Protocol
or SFTP, proposed in RFC2640.



Using an SFTP client, you would be using the UTF-8 protocol on both client and
server (if their implementation follows the standard).
Windows 10 contains the command-line utility sftp.
Or as alternative you could use a third-party utility such as the free
WinSCP.






share|improve this answer































    0














    Use FTP binary transfer, rather than ASCII (ANSI) and zip files to hide filenames.






    share|improve this answer
























    • but if i do send them in zip, zipped folder name must be in Chinese. so here the problem is same again . i have not sure about that my server support FTP binary transfer, so i will try that too. and thanks for your valueable response and time

      – NEEL KANTH SHARMA
      Jan 30 at 18:58











    • Windows does not support certain characters in filenames, e.g. forward slash and colon. Perhaps some multibyte Chinese characters contain illegal characters. Are there versions of Chinese, e.g. Hanyu Pinyin, that are more usable?

      – DrMoishe Pippik
      Jan 30 at 22:17











    • we need to send those files and folders with smiplifed chinese characters

      – NEEL KANTH SHARMA
      Jan 31 at 8:08











    • Test which characters cause issues and don't use 'em.

      – DrMoishe Pippik
      Jan 31 at 18:35











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400125%2fftp-file-transfer-with-chinese-characters%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    The File Transfer Protocol, as defined in
    RFC959 and later,
    is one of the oldest protocols on the Internet, using as primary character set
    the 7-bit ASCII.
    International characters need a protocol that uses Unicode.
    Such a protocol is the
    SSH File Transfer Protocol
    or SFTP, proposed in RFC2640.



    Using an SFTP client, you would be using the UTF-8 protocol on both client and
    server (if their implementation follows the standard).
    Windows 10 contains the command-line utility sftp.
    Or as alternative you could use a third-party utility such as the free
    WinSCP.






    share|improve this answer




























      1














      The File Transfer Protocol, as defined in
      RFC959 and later,
      is one of the oldest protocols on the Internet, using as primary character set
      the 7-bit ASCII.
      International characters need a protocol that uses Unicode.
      Such a protocol is the
      SSH File Transfer Protocol
      or SFTP, proposed in RFC2640.



      Using an SFTP client, you would be using the UTF-8 protocol on both client and
      server (if their implementation follows the standard).
      Windows 10 contains the command-line utility sftp.
      Or as alternative you could use a third-party utility such as the free
      WinSCP.






      share|improve this answer


























        1












        1








        1







        The File Transfer Protocol, as defined in
        RFC959 and later,
        is one of the oldest protocols on the Internet, using as primary character set
        the 7-bit ASCII.
        International characters need a protocol that uses Unicode.
        Such a protocol is the
        SSH File Transfer Protocol
        or SFTP, proposed in RFC2640.



        Using an SFTP client, you would be using the UTF-8 protocol on both client and
        server (if their implementation follows the standard).
        Windows 10 contains the command-line utility sftp.
        Or as alternative you could use a third-party utility such as the free
        WinSCP.






        share|improve this answer













        The File Transfer Protocol, as defined in
        RFC959 and later,
        is one of the oldest protocols on the Internet, using as primary character set
        the 7-bit ASCII.
        International characters need a protocol that uses Unicode.
        Such a protocol is the
        SSH File Transfer Protocol
        or SFTP, proposed in RFC2640.



        Using an SFTP client, you would be using the UTF-8 protocol on both client and
        server (if their implementation follows the standard).
        Windows 10 contains the command-line utility sftp.
        Or as alternative you could use a third-party utility such as the free
        WinSCP.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 31 at 9:52









        harrymcharrymc

        260k14271574




        260k14271574

























            0














            Use FTP binary transfer, rather than ASCII (ANSI) and zip files to hide filenames.






            share|improve this answer
























            • but if i do send them in zip, zipped folder name must be in Chinese. so here the problem is same again . i have not sure about that my server support FTP binary transfer, so i will try that too. and thanks for your valueable response and time

              – NEEL KANTH SHARMA
              Jan 30 at 18:58











            • Windows does not support certain characters in filenames, e.g. forward slash and colon. Perhaps some multibyte Chinese characters contain illegal characters. Are there versions of Chinese, e.g. Hanyu Pinyin, that are more usable?

              – DrMoishe Pippik
              Jan 30 at 22:17











            • we need to send those files and folders with smiplifed chinese characters

              – NEEL KANTH SHARMA
              Jan 31 at 8:08











            • Test which characters cause issues and don't use 'em.

              – DrMoishe Pippik
              Jan 31 at 18:35
















            0














            Use FTP binary transfer, rather than ASCII (ANSI) and zip files to hide filenames.






            share|improve this answer
























            • but if i do send them in zip, zipped folder name must be in Chinese. so here the problem is same again . i have not sure about that my server support FTP binary transfer, so i will try that too. and thanks for your valueable response and time

              – NEEL KANTH SHARMA
              Jan 30 at 18:58











            • Windows does not support certain characters in filenames, e.g. forward slash and colon. Perhaps some multibyte Chinese characters contain illegal characters. Are there versions of Chinese, e.g. Hanyu Pinyin, that are more usable?

              – DrMoishe Pippik
              Jan 30 at 22:17











            • we need to send those files and folders with smiplifed chinese characters

              – NEEL KANTH SHARMA
              Jan 31 at 8:08











            • Test which characters cause issues and don't use 'em.

              – DrMoishe Pippik
              Jan 31 at 18:35














            0












            0








            0







            Use FTP binary transfer, rather than ASCII (ANSI) and zip files to hide filenames.






            share|improve this answer













            Use FTP binary transfer, rather than ASCII (ANSI) and zip files to hide filenames.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 30 at 16:02









            DrMoishe PippikDrMoishe Pippik

            10.2k21432




            10.2k21432













            • but if i do send them in zip, zipped folder name must be in Chinese. so here the problem is same again . i have not sure about that my server support FTP binary transfer, so i will try that too. and thanks for your valueable response and time

              – NEEL KANTH SHARMA
              Jan 30 at 18:58











            • Windows does not support certain characters in filenames, e.g. forward slash and colon. Perhaps some multibyte Chinese characters contain illegal characters. Are there versions of Chinese, e.g. Hanyu Pinyin, that are more usable?

              – DrMoishe Pippik
              Jan 30 at 22:17











            • we need to send those files and folders with smiplifed chinese characters

              – NEEL KANTH SHARMA
              Jan 31 at 8:08











            • Test which characters cause issues and don't use 'em.

              – DrMoishe Pippik
              Jan 31 at 18:35



















            • but if i do send them in zip, zipped folder name must be in Chinese. so here the problem is same again . i have not sure about that my server support FTP binary transfer, so i will try that too. and thanks for your valueable response and time

              – NEEL KANTH SHARMA
              Jan 30 at 18:58











            • Windows does not support certain characters in filenames, e.g. forward slash and colon. Perhaps some multibyte Chinese characters contain illegal characters. Are there versions of Chinese, e.g. Hanyu Pinyin, that are more usable?

              – DrMoishe Pippik
              Jan 30 at 22:17











            • we need to send those files and folders with smiplifed chinese characters

              – NEEL KANTH SHARMA
              Jan 31 at 8:08











            • Test which characters cause issues and don't use 'em.

              – DrMoishe Pippik
              Jan 31 at 18:35

















            but if i do send them in zip, zipped folder name must be in Chinese. so here the problem is same again . i have not sure about that my server support FTP binary transfer, so i will try that too. and thanks for your valueable response and time

            – NEEL KANTH SHARMA
            Jan 30 at 18:58





            but if i do send them in zip, zipped folder name must be in Chinese. so here the problem is same again . i have not sure about that my server support FTP binary transfer, so i will try that too. and thanks for your valueable response and time

            – NEEL KANTH SHARMA
            Jan 30 at 18:58













            Windows does not support certain characters in filenames, e.g. forward slash and colon. Perhaps some multibyte Chinese characters contain illegal characters. Are there versions of Chinese, e.g. Hanyu Pinyin, that are more usable?

            – DrMoishe Pippik
            Jan 30 at 22:17





            Windows does not support certain characters in filenames, e.g. forward slash and colon. Perhaps some multibyte Chinese characters contain illegal characters. Are there versions of Chinese, e.g. Hanyu Pinyin, that are more usable?

            – DrMoishe Pippik
            Jan 30 at 22:17













            we need to send those files and folders with smiplifed chinese characters

            – NEEL KANTH SHARMA
            Jan 31 at 8:08





            we need to send those files and folders with smiplifed chinese characters

            – NEEL KANTH SHARMA
            Jan 31 at 8:08













            Test which characters cause issues and don't use 'em.

            – DrMoishe Pippik
            Jan 31 at 18:35





            Test which characters cause issues and don't use 'em.

            – DrMoishe Pippik
            Jan 31 at 18:35


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400125%2fftp-file-transfer-with-chinese-characters%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to make a Squid Proxy server?

            第一次世界大戦

            Touch on Surface Book