Re: script.txt
So where's your UNC path?
You should use
get *.* \\servername\directory\directory\
Also in general your script is not robust.
Please read guide to scripting:
https://winscp.net/eng/docs/guide_automation
You should use
get *.* \\servername\directory\directory\
Also in general your script is not robust.
Please read guide to scripting:
https://winscp.net/eng/docs/guide_automation