--- title: "Scheduling Imports from SFTP" slug: "scheduling-imports-from-sftp" description: "Configure automatic imports from Slate SFTP with Import Path/Mask. See examples for files in the incoming folder and its subfolders." status: "update" updated: 2026-11-11T15:45:31Z published: 2026-11-11T15:45:31Z canonical: "knowledge.technolutions.net/scheduling-imports-from-sftp" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.technolutions.net/llms.txt > Use this file to discover all available pages before exploring further. # Scheduling Imports from SFTP Source Formats can be configured to automatically import files from the [SFTP server](/v1/docs/sftp) attached to each instance. This configuration is managed using the **Import Automation** tab of the Source Format. Adding an [Import Path/Mask](/v1/docs/scheduling-imports-from-sftp#adding-a-import-pathmask) to a Source Format tells Slate which files should be imported to that Source Format. This enables other systems to deliver files directly to the SFTP that are processed as if uploaded through **Upload Dataset**. These files go through the same import scripts and remap process as when they are uploaded directly. ## Adding an import path/mask 1. In Slate, navigate to **Database → Source Formats**. 2. Open the source format you want to automate. 3. Select the **Import Automation** tab. ![](https://cdn.us.document360.io/cd8ea7a6-07f3-4846-a554-627ac016d3e3/Images/Documentation/image-Z66RV25V.png?sv=2026-02-06&spr=https&st=2026-11-17T01%3A24%3A18Z&se=2026-11-17T02%3A24%3A18Z&sr=b&sp=r&sig=U3FAlUTqH1xIVAqvH1noIRpXkYulyy6rVgLQoG2hVQk%3D) 4. In the **Import Path/Mask** field, enter the path and filename mask for your files (see [Formatting the import mask](/docs/scheduling-imports-from-sftp#format-the-import-pathmask) below). ![](https://cdn.us.document360.io/cd8ea7a6-07f3-4846-a554-627ac016d3e3/Images/Documentation/image-N010PU9H.png?sv=2026-02-06&spr=https&st=2026-11-17T01%3A24%3A18Z&se=2026-11-17T02%3A24%3A18Z&sr=b&sp=r&sig=z9B6ho1wz%2F%2BOIfkFrwe1mklyN7j2sftqb2qUgNTwIWA%3D) 5. Save the source format. If an import mask has been specified, Slate scans the `/incoming/` directory at least once per hour to determine if one or more files match the specified mask. #### Files not coming in? Check the **Import Path/Mask** field. It needs to include the name of the **subfolder** your file is stored in, if you're using one. For example, for the file `/incoming/SIS/SIS_to_Slate20261110.txt`, enter `SIS/SIS_to_Slate*.txt` in **Import Path/Mask**. ## Format the import path/mask Enter the path relative to `/incoming/`. Omit `/incoming/` itself. Include any subfolders, followed by the filename or filename mask. You can use wildcard characters in the filename: - A **question mark** `?` matches any single character. - An **asterisk** `*` matches any number of characters. For a file at `/incoming/SIS/SIS_to_Slate20261110.txt`, use this mask. `SIS/` identifies the subfolder, and `*` matches the date in the filename: ```plaintext SIS/SIS_to_Slate*.txt ``` For a file directly in `/incoming/`, such as `/incoming/SIS_to_Slate20261110.txt`, use `SIS_to_Slate*.txt`. No subfolder prefix is needed. Import masks must include a meaningful prefix or suffix. Don't use open-ended masks like `*.txt` or `*_SisToSlate_*.txt` — these are too broad and may pick up unintended files. > [!WARNING] > **📝 Note** > > When Slate picks up and processes a file, the file is moved into a `/processed/` subdirectory within the `/incoming/` directory. If a file with that name already exists, the existing file within the `/processed/` directory is overwritten.