Re: Script to loop through files and transfer them individually
1) You are missing
2) You have to use
See
https://winscp.net/eng/docs/scripting#arguments
https://winscp.net/eng/docs/commandline#scripting
/parameter
switch:
winscp.com /script=taegweb.txt /parameter %1
2) You have to use
%1%
to refer to script parameter, not just %1
:
put %1%
See
https://winscp.net/eng/docs/scripting#arguments
https://winscp.net/eng/docs/commandline#scripting