【Windows】【IIS】no mapping for the unicode character exists in the target multi-byte code page.

在Win10上使用IIS時,遇到

FTP 資料夾錯誤
複製檔案到 FTP 伺服器發生錯誤。請確認您有權可以將檔案放到伺服器上。
詳細資料:

200 Type set to I.
207 Entering Passive Mode (IP...).
451 No mapping for the unicode character exists in the target multi-byte code page.






這是Unicode 編碼格式造成的錯誤


解決方法一:去除掉所有中文路徑

方法二:把檔案壓縮、再上傳,檔名沒有中文字就沒有這個問題了。

方法三:IIS 進階設定的地方,把允許UTF8 從True改為False,然後重新啟動服務。

(雖然不允許UTF-8...好像哪裡怪怪的,
不過反而沒遇到任何錯誤)



至於網路上說的,從REGEDIT登錄編輯程式更改註冊表
電腦\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters
"favordbcs" = 0
測試下來則沒有起作用。