Re: Port issues in Script
sftp://username:password@someplace.com:port=10022/
Where did you get this syntax from? (This is real question. I wonder if we need to improve our documentation somehow).
The correct syntax is:
sftp://username:password@someplace.com:10022/
.
See https://winscp.net/eng/docs/session_url
If you have you session working in GUI, you can use Generate URL function:
https://winscp.net/eng/docs/ui_generateurl
(in the latest release only)