Skip to main content
Skip table of contents

Flow Endpoint Editor - Source - Thru SFTP

To configure a source Thru SFTP endpoint: 

In Flow Studio, you’ll see 2 boxes: Source and Target. On the blue Sources box on the left side of the page, click the Actions icon next to your Thru SFTP endpoint. Select Edit Flow Endpoint Settings.

1. In the Configuration tab, enter a Flow Endpoint Name *

2. If you want, configure Filename Filters by specifying if files should be Include(d) and/or Exclude(d) from the pull. You can only use Regular Expressions here. 

3. Enter the Endpoint Source Path

4. In the Note field, add notes to help you keep track of your endpoint and settings. 

5. Click the Save button to save the changes and go back to Flow Studio. 

2. Click the Actions icon next to your Thru SFTP endpoint. Select Edit Flow Endpoint Settings. Click the Users tab. 

1. Click + Add or Edit User

2. Enter a username in the Username * field. 

3. Select an Authentication Type * and fill in the other required fields. 

4. Click Save

Note : Usernames are case sensitive


3. Click the Actions icon next to your Thru SFTP endpoint. Select Edit Flow Endpoint Settings. Click the Processing Options tab. 

Here, you can choose to encrypt/decrypt or compress/decompress files. Please note that encryption and compression can’t be enabled at the same time. 

To encrypt or decrypt files with PGP: 

1. Toggle Encryption or Decryption on. 

2. Select a PGP key to use. 

All your organization’s PGP keys will be listed here. If a PGP key is missing or no keys are listed, go back to the Organizations – PGP Keys section and add a PGP key. 

3. Click Use Selected

4. Click the Save button to save the changes and go back to Flow Studio. 

To compress or decompress files: 

1. Toggle Compression or Decompression on. 

2. In the Select a Compression Type box, click the Select a Compression Type drop-down and select your compression type: Zip or Zip7

3. Under the field Archive Password (Optional), you can set a password. Use the eye icon to check your password. 

4. Click the Save button to save the changes and go back to Flow Studio. 

4. Click the Actions icon next to your Thru SFTP endpoint. Select Edit Flow Endpoint Settings. Click the Trigger Files tab. 

Trigger files can prevent partial files or trigger source or target applications or systems to process files. Thru supports 3 trigger file configurations to cover numerous use cases. Trigger files on the source tell Thru to look for the specified trigger file before transferring the file. 

Trigger files are required to prevent partial files when using Thru Server endpoints. 

The trigger file options are: 

1. Set up one trigger file per file. 

2. Rename the trigger files after the transfer is completed. 

3. One trigger file for a batch of files. 

By default, trigger files are disabled, meaning no trigger file settings exist. 

These steps will help you complete trigger file setup. 

A separate file, PER FILE 

Specify a file prefix and or extension to trigger a pull or keep a pull from occurring.  

How does it work? Here’s an example: Where files are being hosted, the files can be instantly renamed with a script to indicate a new prefix and/or extension. Once detected by your configured endpoint, each file will be downloaded if it meets the required criteria specified in the configuration. 

Another option is to set up the configuration to NOT download specific file prefixes and/or extensions because they aren’t ready to be transferred. Your configured endpoint will download all the other files instead. 

Please skip this configuration if you are going to use ONE separate file. 

1. Click a separate file, PER FILE

2. Select the Add .ext or Replace .ext button. 

3. Enter a File Prefix and/or a File Extension. You can use either or both options. 

4. Click the Save button to save the changes and go back to Flow Studio. 

5. Add .ext as a generic file extension or replace and add a custom extension name to your files. 

A TEMP FILENAME for each File 

Each file can be given a temporary name to indicate that the file isn’t ready to be transferred.  

When Thru sees the temporary filename that you specify, it won’t pull the files.  

You must rename them in your system to trigger the source endpoint to pull them. 

Your configured endpoint will download all the other files. Additional rename settings allow you to rename those files with a new file prefix or file extension or remove them. 

1. Click a TEMP FILENAME, for each file

2. In the File Prefix field, enter file prefix and/or enter the file extension in the File Extension field. 

3. Click the Save button to save the changes and go back to Flow Studio. 

ONE separate file 

This configuration looks for a Batch Trigger File Name to start transferring all the files in the file path. You need to specify the name of the batch file that will trigger the file transfer. 

1. Click ONE separate file

2. Enter a batch trigger file name in the Batch Trigger File Name field. 

3. Click the Save button to save the changes and go back to Flow Studio. 

5. Click the Actions icon next to your Thru SFTP endpoint. Select Edit Flow Endpoint Settings. Click the Rename tab. 

Renaming is great to use if you have many similar files going to the same Organizational Endpoint. You can easily add a timestamp to the file as well. 

Multiple File Rename Patterns can be created and processed per endpoint. 

To set up a new file pattern: 

1. Click NEW File Pattern

2. Enter a unique Rule Name *

3. Enter a value to filter or enter .* to allow all files in the Rename Files Matching * field. 

4. Enter a Test String, which is the text you want to replace. 

5. In the New Pattern field, drag and drop common rename building blocks to create a rename structure. The Result field will show what the new file would be. 

6. Click the Apply on paths block to activate renaming on that path. Some endpoint types support multiple source or target paths. 

7. Click the Save button to save the changes and go back to Flow Studio. 

Regex Selector Example 

The incoming Test String is being filtered by the Regex Selector to pull out the word public. 

6. Click the Actions icon next to your Thru SFTP endpoint. Select Edit Flow Endpoint Settings. Click the Alerts tab. 

Use alerts to be notified of Transfer Inactivity, Transfer Limit Exceeded, Transfer Success or Transfer Error. Add an email address to receive alerts from the Add/Edit Email pane. Once enabled, added email addresses will start receiving emails for the selected notification types. There’s no limit on how many emails can be added to receive alerts for the endpoint.  

Set global email alert configurations to send alerts to multiple email addresses about the same errors. After email addresses are added, they can be administered on the Alert Table. 

Emailed alerts can also be viewed in the Alerts section. 

The character limit per email is restricted to 200. 

To set up email alerts: 

1. Click Add/Edit Email

2. Enter an email address in the Email * field.  

3. Click the checkbox for what you’d like to be alerted about. Non-global confirmation options include the addition of Transfer Success and Transfer Error

4. Click the Save button to save the changes and go back to Flow Studio. 

Global Configuration is applied to all email addresses within the Alert Table. 

Transfer Inactivity defines the time period to trigger an alert if no file transfers have occurred.  

Transfer Limit Exceeded triggers an alert if the defined number of files is exceeded with the set time period. 

7. Click the light blue View and Push Changes button to push your changes. 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.