Host Does Not Exist When Using Parameter for the Filename
Hi I'm trying to pass a filename parameter from my SSIS Task.
What i did was i created a BAT file which calls for the script.
The script below works without parameter
BAT File
Now, if I introduce a parameter with the codes below i'm getting "Host Does Not Exist"
BAT File
Script.txt
Hope someone can lead me to the right direction.
Many thanks guys
What i did was i created a BAT file which calls for the script.
The script below works without parameter
BAT File
@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"
BAT File
@echo off cls C: cd\BOTDataImport winscp417 /console /script=script.txt /parameter BV_201503.zip pause
Script.txt
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