How To: Launch a Script with an Event

How To: Launch a Script with an Event


Question

Is it possible to have Titan SFTP Server launch a custom script from an event?


Reasoning

I have several actions needed to be performed which Titan does not have a native action for, therefore, I have written a script which will perform all of the actions and I need Titan SFTP Server automation to launch the script.


Answer

In Titan SFTP Server, you can create an event with a specific trigger and then add an action to launch a custom script.


Steps

  1. Navigate to Events and click on the + icon.
  2. Select an event trigger that best fits your needs. In this example, I have chosen a scheduled event.
  3. Select Actions and click on Add Actions.
  4. Select the action “Spawn Process to run job” and browse to said script and fill in any needed parameters.

Interfaz de usuario gráfica, AplicaciónDescripción generada automáticamente

  1. Click on Okay.
  2. Click on Next.

Interfaz de usuario gráfica, Aplicación, TeamsDescripción generada automáticamente

  1. Provide a name for the event, ensure it is enabled and click on Next.

Interfaz de usuario gráfica, Texto, Aplicación, Correo electrónicoDescripción generada automáticamente

  1. Click on Create.

    • Related Articles

    • How-To: Run a Script with a Scheduled Event Handler

      Question Can I create a scheduled event to call and run a script? Reasoning I currently have Titan FTP server and would like to take advantage of the event handler capabilities to automate jobs.   Answer Titan FTP Server includes the ability to ...
    • Event Handler script not running

      Problem: I set up an Event Handler to launch a VBScript when a file has been uploaded. The VBS script doesn't run. The file has been saved in the default directory path. Solution: Currently, the VBS script will not launch from a directory with spaces ...
    • Event Handler script not running

      Problem: I set up an Event Handler to launch a VBScript when a file has been uploaded. The VBS script doesn't run. The file has been saved in the default Cornerstone directory path. Solution: Currently, the VBS script will not launch from a directory ...
    • How To: Create a File Uploaded Event

      Question Can I create an automation that triggers once a file is uploaded into Titan SFTP Server? Reasoning As an admin, I would like to be able to create automations that perhaps can send email notifications or process the incoming files once ...
    • Custom Branding using PowerShell Script

      Titan Server: Custom Branding and Logo using PowerShell Question How do I custom brand the interface for Titan Server using a PowerShell script? Reasoning I want the interface to match my organization’s look and feel. Answer Yes, the server interface ...