Running Scripts

<< Click to Display Table of Contents >>

Navigation:  General Functions > Import / Export > Secure File Transfer >

Running Scripts

Similar to direct database access (building the file to transfer by issuing a direct query to a locally accessible database), you may also use the SFT client to run a script on the host machine prior to attempting transfer.  The script will be issued to the command line prompt and may be used to produce the file that will then be transferred.

The script will be written and run as a batch file.  As such it can be a series of command line instructions issued in sequence with error testing logic and everything else that is supported by a batch file.

The SFT client will allow ten minutes for your script to complete, after which the SFT client will abort the script due to timeout.

Your script should be written such that it produces the file that the transfer job is expecting to transfer.