Re: Connecting winscp through btach/CMD file
Use open command instead:
https://winscp.net/eng/docs/scriptcommand_open
Try this
option batch abort
option confirm off
cd/Program Files (x86)\WinSCP
winscp/Open <User Name>:<Password>@site.co.uk
lcd \reports
get file*.xml C:\TEMP\
exit