If you need to repeat the same task against multiple servers, instead of writing separate and almost identical scripts for each server, you can write one parametrized script.
To use the script against multiple servers, just execute the script (saved to file
script.txt) repeatedly, using different session URL as parameter:
winscp.com /script=script.txt /parameter sftp://firstname.lastname@example.org/ winscp.com /script=script.txt /parameter sftp://email@example.com/
If the script has also other variable parts, like file to upload or remote directory, just replace those parts with additional parameters (
Site design by Black Gate