Filename (and other) Parameter(s)

<< Click to Display Table of Contents >>

Navigation:  General Functions > Import / Export > Secure File Transfer > Running Scripts > Setting up the script >

Filename (and other) Parameter(s)

Several parameters may be embedded in your script that will be resolved at the time the script is run.  You write your script using the parameter (exactly as shown).  Then, before the script is executed, each parameter placeholder will be replaced with the value defined in the table below:

Parameter

Definition

{%V1%}

Date of last success.  This is more often used when writing queries, but is honored for scripts as well.  See the Current {%V1%} box on the left side of the configuration screen for the date value that will be substituted.  If the value is blank, then 01/01/1900 will be substituted.

{%V2%}

The path and filename that the import job is expecting to transfer.  Your script is usually designed to produce this file.  By using the {%V2%}, you can be assured your script will always create the file that the job is expecting (in case someone changes the name or location of the file via the MIE).

{%V3%}

Customer number of the customer to whom the authenticated SFT user is assigned.