Re: ftp vs sftp
WinSCP defaults to SFTP. Although you could have changed the default, it still should not use different protocol for different servers. The only explanation would be that you have a stored session with name "uid2:pwd2@yyy.yy.yy.yyy" that have FTP protocol set. But I doubt that. Log file could give more clues (/log=log.log)
Anyway, to learn how to specify protocol see documentation:
https://winscp.net/eng/docs/scriptcommand_open
https://winscp.net/eng/docs/session_url
Anyway, to learn how to specify protocol see documentation:
https://winscp.net/eng/docs/scriptcommand_open
https://winscp.net/eng/docs/session_url