Topic "Combining multiple scripts into one file"

Author Message
[View user's profile]

Joined: 2014-06-11
Posts: 1
Location: Dallas, TX
I have an SSIS package that has a variable passed to it which is a customer specific run id.

One of the steps in the SSIS package is an execute process task that calls a specific winSCP script file on the file system. There is a separate process task for each customer (only one customer is run on each execution of the package). This uses the standard syntax of: /console /script="C:\parent_folder\customer_folder\customer_winscpScript.txt" as described on

I would like to be able to combine all the individual customer scripts into one file and pass it the variable used by the SSIS package so that the code for that customer gets executed.

Is this possible using the scripting syntax or does it require something more complex?
I apologize if I did not search enough, but I was not able to find anything obvious that addressed this question.

Any assistance would be appreciated.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Please read documentation:
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License