Topic "enable UTF-8 for remote server copy with .NET Assmbly in SCP"

Author Message
sqlguy
[View user's profile]

Joined: 2012-05-15
Posts: 2
We have downloaded the Portable executable & .NET assembly/COM library for version 5.0.7. Since I need to copy UTF-8 formatted files I was looking for a way to set UTF-8 filename encoding to "On" (as I do for the WinSCP executable, manually) via script. An example of code where I would like to set this is below.

(From MS 2005 SSIS dts package script)
With options
.Protocol = Protocol.Sftp
.HostName = Dts.Variables("My_WinSCP_Host").Value.ToString()
.UserName = Dts.Variables("My_WinSCP_User").Value.ToString()
.....etc
(looking at this point for an variable to set UTF-8 filename encoding to "On")

A sample solution would be something like .UTF8Encoding = "On" but the dll doesn't suggest a likely parameter.

Or is this possible using SCP?

For other non-UTF-8 copies this is working great!

Thanks in advance -
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
WinSCP does not support UTF-8 with SCP.
https://winscp.net/eng/docs/faq_utf8
_________________
Martin Prikryl
yut

Guest


prikryl wrote:
WinSCP does not support UTF-8 with SCP.

Look here, please. Does it work?
sqlguy
[View user's profile]

Joined: 2012-05-15
Posts: 2
Thanks for the quick response and letting me know, Martin. This weekend I built an alternative approach and began testing it yesterday.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License