For example I create a script which need to Put 3 files to the Open SSH server. I would like to invoke a common script with a stored session and pass the filenames in the command line.
winscp3 email@example.com /script=ex.txt file1 file2 file3
Within the script I would use
where $1 = file1 etc.
Any ideas anybody?