How to add source or destination folders to an FTP server connection.
Creating and configuring folders for the FTP server
When you have configured the general FTP server properties, you can add folders to the server. These can be either source or destination folders in a workflow.
- To create an FTP server connection, go to the Servers view in Connect Settings.
- Open the Folders tab and double-click the folder name to see its properties.
- Enter the following information, as necessary.
Name: Enter a short descriptive name for the folder here.
Description: Enter a more detailed description, if necessary (255 character limit).
Type: Select Source, Destination, or Source/Destination. This setting determines which category the folder appears in when creating a channel.
Path: Enter the path to the FTP folder. If your login credentials on the FTP server take you to a certain home directory, you can choose whether the specified path is relative to the home directory or to the FTP server's root by selecting the corresponding checkbox.
Note: The path must always start with a leading forward slash, for example, /files.
Delete filter: Here you can specify files to delete from the input to avoid transferring them. This can be used to remove unwanted files from your workflow or to avoid transferring accompanying files that your system doesn't use. Several file types can be defined and separated with a space, for example, *.txt *.tmp
Open the Options tab.
- These options apply only to source folders or source/destination folders. Configure the following as required:
Include files in subfolders: Select this for Connect to retrieve all files in subfolders in the specified path.
Remove empty subfolders: Select this for Connect to remove empty subfolders after retrieving the files in them.
Wait for growing files: Select this to ensure that Connect only picks up the file in the source folder when it has been written entirely. This can be useful if the source folder is populated by another application that writes files byte-for-byte in the input folder without locking it.
Enable virus scanning: Enable this option to automatically check all incoming files for viruses. Infected files can be deleted, quarantined, or ignored and logged. The virus scanning settings are configured on the Service Options tab, for more information, see Scanning transferred files for viruses scanner settings are configured on the Service Options tab.
- Open the Scheduling tab. Scheduling controls when Connect pulls files from a source folder.
Scan frequency: This setting determines how often Connect scans the input folder for new files. Select Continuously for Connect to scan the folder several times per minute or select With Time Interval to manually set the number of seconds between each scan.
Run Schedule: Select and/or drag to set a run schedule based on the time of the day and the day of the week. White dots in the grid indicate when the folder is active and blue dots indicate when there is no scanning of the folder.
- Select Save.