Re: Hide password
You can save the password to stored sessions and open the stored session from the script. But anyway, the password can be decoded. So it is only slightly better.
I have addressed this by using a compiled autohotkey script that writes a winscp script file and then deletes the file after the run is complete.