SessionLocalException comes from .NET assembly source code.
SessionRemoteException comes from WinSCP application and there are like hundreds of different errors. See
I've been sifting through the source, trying to find the error text used in SessionRemoteException and SessionLocalException. I'd like to maintain a list of these messages for reference in a wrapper class that I'm building.
But I'm not having much luck. Are they kept in a resource file somewhere? If I'm not mistaken, I believe I remember stumbling on these in some .CHM documentation somewhere quite a while ago.