In the WinSCP application there is a check box in the Transfer settings dialog to indicate if certain filename characters should be replaced when a file is transferred.
It's the Replace check box in the Filename modification group.
Where is this option in C# WinSCP.net?
I've looked on the WinSCP.TransferOptions class, but I can't see this option.
Can someone please tell me how I set the File Modification Replace option in WinSCP .NET?

Use
ReplaceInvalidCharsraw transfer setting:And then use the
TransferOptionsinstance when calling file transfer method (such asSession.PutFiles).WinSCP GUI can even generate the code for you.