Re: Winscp script not connecting but session fine via GUI.
So can you post 5.5.1 log too?
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Did you try setting a longer timeout?