When generating the C# code from the WinSCP GUI, I get
sessionOptions.AddRawSettings("FSProtocol", "2");
Does anyone know what this FSProtocol
setting and the value "2"
means?
I tried to google "FSProtocol" but fail to get any result specific to it.
Here's a setting list I found from their doc https://winscp.net/eng/docs/rawsettings
WinSCP helpfully has source code in GitHub (and other places too) - a search in that repo for
FSProtocol
found this line, which nicely lists the names associated with each value - they seem to refer to the different file transfer modes of WinSCP:https://github.com/winscp/winscp/blob/c472858e482cbdee0508c64203bc58340b645007/source/core/SessionData.cpp#L48