Re: Disallow SCP fallback via API
The answer on stackoverflow is false. The WinSCP .NET assembly behaves like the "Allow SCP fallback" is checked, by default. The option must be "unchecked" with the following additional line of code:sessionOptions.AddRawSettings("FSProtocol", "2"); // SFTPOnly
No, it's not false. If you have a different experience, please post your code and a matching log file.