Forcing UTF-8 Encoding in .Net automation
Hi,
We are using Winscp 5.1.7 and SFTP-3 and we are trying to put some files with non english characters through .net Automation.
This will work if i set the UTF-8 encoding on. So i have placed the below piece of code to facilitate that. But still i'm getting cannot create file part error for that file alone.
sessionOptions.AddRawSettings("Utf", "1");
Is there any other way to acheive it? Please help.
P.S: Even through winscp tool non english charactered file names are getting transferred only when UTF-8 is set to on.
Thanks,
Santhosh
We are using Winscp 5.1.7 and SFTP-3 and we are trying to put some files with non english characters through .net Automation.
This will work if i set the UTF-8 encoding on. So i have placed the below piece of code to facilitate that. But still i'm getting cannot create file part error for that file alone.
sessionOptions.AddRawSettings("Utf", "1");
Is there any other way to acheive it? Please help.
P.S: Even through winscp tool non english charactered file names are getting transferred only when UTF-8 is set to on.
Thanks,
Santhosh