Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
An FTP Event enables you to specify when and how frequently a process flow should be executed based on either creation of a new file or existence of a file(s) on an FTP Server or upon its modification.
Steps to create a FTP Event
- Click Configure > EVENTS > FTP Event.
- Click Create FTP Event.
- On the Create FTP Event window, type the name and description of the new FTP event in the Name and Description fields respectively.
- Type the Host name and Port on which FTP Server is running.
- Type the username and password required to access FTP Server in the User ID and Password.
- Re-enter the password in the textbox Confirm Password.
- Select the transfer type (ACTIVE or PASSIVE) from the Transfer Type.
- ACTIVE transfer is more secure since the client only initiates communication to the server on one port.
- PASSIVE transfer the client initiates communication with the server over two ports. PASSIVE mode is useful when you are behind a firewall or a proxy.
Select the trigger from the Trigger Type drop-down list.
On FileModified
To configure the FTP event to check for any modification in the file(s).
On FileExists
To configure the FTP event to check for the existence of the file(s).
On FileCreated
To configure the FTP event to check for the creation of a new file(s).
Trigger Name
Description
Select Run Initial Load checkbox to process the files created when the event is not active. This option is enabled only if On FileCreated option is selected in the Trigger Type.
Info After the activation of the event, for the first time, the system processes all the files that exist in the base folder location, irrespective whether they were processed earlier or not. However, for subsequent activation, only the unprocessed files are processed each time Select Don't Process Duplicate Files checkbox if you don't want to process the same file again. This option is enabled only if On FileCreated option is selected in the Trigger Type.
The next step is to decide if you want to use SFTP, or FTPS. If you do not use any of these two protocols, the default FTP protocol is used, and you need to skip to step 12 and complete all the steps that follow.In case you opt to use SFTP or FTPS protocol, follow the steps below.
Choose either of the two protocols – SFTP, or FTPS
If you want to use SFTP protocol,Anchor Convert the format Convert the format - Select SFTP checkbox.
- Convert the format of the key that you want to use to OpenSSH key format by using any key conversion tool. Once converted, import the key to Key Manager. Refer to this page to know how to import a key to the Key Manager.
- In the Key Manager field, select the key from the list.
- Skip to the step 12 and complete all the steps that follow.
- Select FTPS checkbox.
In the FTPS Mode field, select FTPS mode. It can be Explicit or Implicit depending on FTP Server you are accessing.
In Explicit mode (also known as FTPES), an FTPS client must "explicitly request" security from an FTPS server and then step-up to a mutually agreed encryption method. If a client does not request security, FTPS server can either allow the client to continue in insecure mode or refuse/limit the connection.
In Implicit mode, negotiation is not allowed with implicit FTPS configuration. A client is immediately expected to challenge FTPS server with a TLS/SSL message. If such a message is not received by the FTPS server, the server should drop the connection.
By default, it should be Explicit as in this mode client requests security from FTPS server.
Select the protection level supported by the FTP Server from the Protection Level drop-down list.
Info Protection Level is a single Telnet character code specifying the data channel protection level. This command indicates server what type of data channel protection the client and server will be using. The default protection level is None. The available options are:
- None
- Clear: This protection level indicates that the data channel will carry the raw data of the file transfer with no security applied.
Private: This protection level indicates data will be confidentially protected.
Select Validate Server checkbox to validate the certificate sent by the FTPS Server against the certificate imported in Keystore.
Select the activity from the Keystore Name drop-down list. This option is applicable only if you have selected Validate Server.
Type the name of the file(s) that the FTP event needs to verify in the File Include Criteria. To select the file(s), click Define List. The File Include Criteria List window appears.
- Type the name of the file or any criteria in the File Include Criteria, for example, .txt. a*, and so on, and then click Add to List.
Click Save.
Type the name of the file that the FTP event does not need to verify in the File Exclude Criteria. For example, you have typed *.txt as a value in the File Include Criteria, and you want following two files Gdata.txt and Gdata1.txt file not to be verified by the FTP Event. Then Gdata.txt and Gdata1.txt file name need to be entered separated by a comma in the File Exclude Criteria. You can also use regular expressions to specify more than one file in the File Include Criteria and File Exclude Criteria.
Info If more than one file is specified in the File Include Criteria, the process flow will trigger for each file. Type the path of the file from where FTP events verify the file in the File Base Location field.
Info In File Include Criteria and File Exclude Criteria, you can also give the folder name along with the file name. For example, suppose you have typed C:\Gmdata in the File Base Location field. There are two sub-folders - Purchase and Purchase1 in the Gmdata folder. Now, you don't know whether the file is in Purchase or Purchase1 folder. To handle this scenario, you can define File Include Criteria as defined below:
Purchase/.txt,Purchase1/.txt
You can also use regular expression in the folder name as given below:
Pur*/*.txtThis path includes both the folders - Purchase and Purchase1.
- Provide the date from which FTP event will start triggering in the Event Start Date. The date must be in MM/dd/yyyy format. Click the Calendar icon to select the required date.
- Select the start time when the event will start triggering from the Time field.
- Provide the date on which FTP event will stop triggering in the Event Expiry Date. The date must be in MM/dd/yyyy format. Click the Calendar icon to select the required date.
- Select the expiry time when the event will stop triggering from the Time field.
Select the trigger from the Trigger drop-down list. You can select Simple or Cron from the list.
Info By default, Simple is selected as a Trigger type. Provide the time interval for which FTP event will check for the arrival of any file or modification of existing file in the Polling Frequency. Type the digit in the Frequency and select the unit of time (seconds, minutes, hours, day, etc.) from the Duration.
Info We recommended minimum Polling Frequency to be more than 60 seconds. - If you have selected Cron as a Trigger type then define the specific time schedule to trigger. For more information on how to define Cron Expression, click here.
- Type the time in the File Stable Time for which trigger will wait for the file to become stable and select the duration from the Duration. This is applicable for OnFileCreated and On FileModified Trigger Type. Type 0 to pick up the file without checking its stability (not running MDTM and size commands).
Expand Advanced Properties to view the advanced properties of an FTP Event.
- Select the Option you want to send email notification for. You would view Duplicate file in this box only if you have clicked the option Don't Process Duplicate Files (Step 11).
- Type the email id in the Notification Receiver Email-ID(s) (comma separated) to receive error emails related to this FTP event.
Select Trigger in Sequence check box to trigger the associated process flow in a sequential manner. If you do not select the Trigger in Sequence check box then the associated process flow will trigger concurrently.
- The Connector lists the APIs to connect to the FTP Server.
By default, Apache Camel is selected in this field.
The options of the Connector drop-down list changes as per your selection of the protocols to use to establish the FTP connection.
FTP
Apache Camel
NATIVESFTP
Apache Camel
J2SCH (VFS)
J2SSHFTPS
Apache Camel
J2SCH (VFS)Protocol
Options
Info Make sure that you've selected an OpenSSH key in the Key Manager field in case the selected connector is Apache Camel and the protocol is SFTP. Enter the additional configuration details in the Add On Configurations text box.
Info This field is available only if you have selected Apache Camel connector.
If you're using SFTP protocol, you need to add the following information in the Add On Configuration field.
preferredAuthentications=publickey,keyboard-interactive,password
Select Verbose check box to create a log file of your FTP service.
Note You can enable the Verbose check box only if you have selected the Apache Camel option from the Connector field.
When you select the Verbose check box using Apache Camel option, the log files are generated on the basis of the FTP protocols. For example, if a user runs FTP activity named FTP Source (connecting with FTP protocol only), the verbose log file path for this activity will be ...\logs\ftpLogs\ftpcomponent.log. If the user runs this activity more than once, all the generated logs will be appended to this ftpcomponent.log file.
Log file will be generated on the basis of FTP protocols (FTP/FTPS/SFTP) at the different location as explained below:
- For FTP protocol: ...<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\logs\ftpLogs\ftpcomponent.log
- For FTPS protocol: …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\logs\ftpLogs\ftpscomponent.log
- For SFTP protocol: …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\logs\ftpLogs\sftpcomponent.log
Select the Project from drop-down list of Project.
- Click Save.
Panel | ||||
---|---|---|---|---|
| ||||
What is new |