Share via

Filename is malformed when sending file to FTP server hosted in IIS.

Shawn Ray Aganan 0 Reputation points
10 Oct 2024, 4:37 am

A 3rd party medium connecting to an FTP server hosted in IIS (Internet Information Services), attempts to send file to the FTP server directly with a Localized filename (e.g. Japanese, Korean, Chinese, etc.). The filename of the file placed on the FTP server is malformed and has garbage characters.

  • Expected filename: しししくくく00000120241004015037.pdf
  • Filename in the FTP server: つつくく00000120241004015037.pdf

Confirmations:

  • The 3rd party medium has verified that the filename information that it sent is as expected in UTF-8 3 byte correctly.
  • IIS FTP server configuration "Accepts UTF-8" is already set to "true".

I hope that someone can shed light on why this behavior occurs. I would really appreciate any assistance in this.

Thank you,
Shawn

Internet Information Services
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 34,516 Reputation points
    10 Oct 2024, 12:28 pm

    I was able to send a file from Win11 to Win10 using FTP.exe and a Chinese file name.

    I noticed in the IIS FTP log that there was an entry for OPTS.

    User's image

    A corresponding message shows up in the client.

    User's image

    Check the log to see if the OPTS is being sent or if the client is setting something different.

    Run your own test and see if you can send a file. It might something with their client.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.