Re: Using SSIS variables in a script
@bleys: What about my answer above? We need way more information, if you want our help. (You will hardly get an answer from an anonymous user after two years)
Argument failed when I pass the the variable./script=C:\WinSCP\SFTP_Batch_Script.txt /parameter +@VFolderName
/script=C:\WinSCP\SFTP_Batch_Script.txt /parameter extract*.txt
/script=C:\WinSCP\SFTP_Batch_Script.txt /parameter +@VFolderName
/parameter
switch to pass that further to the script, like:
"/script=c:\path\to\script.txt /parameter " + @Variable
%1%
to use that parameter:
rm /test/from-cfs/%1%
option batch on
option confirm off
open sftp...
get /from-cfs/*Redemptions*.* \\SVRDWDB\etl\CoinFlip\
close
exit
Redemptions
has wildcards since there could be several for different times of the day.
rm
step? If so, how?