martin wrote:
Freitag wrote:
For me I do not get the error message, but PuTTY is opened to default window (as if no server or session information was passed)
I have a slightly modified version of PuTTY 0.60
http://jakub.kotrla.net/putty/
This one lets you use files to store you config info OR registry.
This is unrelated. This topic is about the terminal console window of WinSCP.
Anyway, did it work in 4.2.2?
I have an update on this. I was looking for where was best to place the fix - because it is PuTTY that is modified, that is also the best place for the fix (not here in WinSCP)
When WinSCP calls PuTTY it uses this command line
"C:\Program Files\PuTTY\putty.exe" -pw "PASSWORD" -load "WinSCP temporary session"
I tested and found that if I can change that to
"C:\Program Files\PuTTY\putty.exe" -pw "PASSWORD" -load "WinSCP temporary session [registry]"
That it will work.
So I am thinking that the fix could be that if the first confg file is not found, then an attempt to load one with " [registry]" appended on the config name might solve the problem.
I'll look in the modified PuTTY code later on and find if I can locate that area and make the change.