What i did was i created a BAT file which calls for the script.
The script below works without parameter
@echo off cls C: cd\WorkingDirectory winscp417 /console /script=script.txt pause Script.Txt
option batch on option confirm off open SSIS@server.com get /Source/BV_201503.zip C:\WorkingDirectory\ close exit
Now, if I introduce a parameter with the codes below i'm getting "Host Does Not Exist"
@echo off cls C: cd\BOTDataImport winscp417 /console /script=script.txt /parameter BV_201503.zip pause
option batch on option confirm off open SSIS@Server get /Source/%1% C:\WorkingDirectory\ close exit
Hope someone can lead me to the right direction.
Many thanks guys