I have recently taken over a WinSCP script at work that transfers files over from an old Windows Server 2012 R2 (Version 6.3 Build 9600) to another server using FTP protocol.
The script is a .bat (encoded with UTF-8 without BOM) that runs a
/script for a .txt (also in UTF-8 no BOM) file that opens the FTP session.
The filepath from the server includes a Swedish letter
ö. As in
I have an existing script that includes a filepath with no scandinavian letters and it works fine. But the second script comes with error:
I tried various methods that I found online and on these forums to no luck. When I try a similar setup on my own PC it works just fine, but not on the 2012 server. However if I run .bat files that simply move files from the same folder they work if I includeFile or Folder 'Operat÷r' does not exist
System error. Code:2
The system cannot find the file specified
chcp 1252 in the script. But it does not work if I try that in the WinSCP .bat script. Nor other
WinSCP version is 6.1 (Build 13674)
Is there a way to fix this or a workaround I can use?
I am also quite new to this role, so apologies if I misunderstand some technical details.