Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

rvonnothdurft@lorisgifts.com

Session log files in Chinese

I dealt with, and figured out how to resolve a SFTP session log file outputting in Chinese. I wrote a PowerShell routine that calls WinSCP.com (the latest version as of 6/23/23). When first implementing it, the session log file was outputting in English. A few days later, after further building on the PowerShell logic, the session log started outputting in Chinese. My Windows language is set to English (USA). I couldn't find any references on how to fix the issue on the internet. I searched WinSCP forum and documentation, and couldn't find anything about it either.

In the PowerShell logic, I was outputting an empty session log, to create it. In the WinSCP commands, I was designating the log file, pointing it to the empty, already created log. If the log already exists, the output was in Chinese. If you let WinSCP create the log, it outputs in English. I repeatedly tested, and got the same results.

Rex