Versions Compared
Version | Old Version 5 | New Version Current |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
The FTP Polling Service activity service is used to check the arrival or modification of a file(s) on a FTP location.
Steps to create a FTP Polling Activity
On the Adeptia Suite homepage, go topolling:
Click Configure > ServicesPOLLING > Polling and then click FTP.
The Manage Click Create FTP Polling screen is displayed.
Image Added
Click- On the Create New link. The Create FTP Polling Service screen is displayed. Enter the FTP Polling window, enter the name and description of the new FTP Polling Service service in the Name and Description text boxes respectively fields.
- Enter the name and port number of the FTP Server in the textboxes Host Name and Port respectively.Enter the Host name and Port on which FTP Server is running.
- Enter the username and password required to access FTP Server in the textboxes the User ID and Password fields respectively. Then, rePassword fields.
- Re-enter the password in the textbox Confirm Password.
- Select the transfer type as either Active or Passive from the dropdown list drop-down list of Transfer Type. Active transfer
- ACTIVE transfer is more secure since the client only initiates communication to the Server on one port
- .
- PASSIVE transfer the client initiates communication to the Server over two ports. Passive mode is useful when you are behind a firewall or a proxy.
Select the trigger
type from the dropdown list Trigger Type. For selection of values, refer to Table 2.Select the SSH FTP (SFTP)from the Trigger Type drop-down list.
On FileModified
To configure the FTP Polling service to check for any modification in the file(s).
On FileExists
To configure the FTP Polling service to check for the existence of the file(s).
On FileCreated
To configure the FTP Polling service to check for the creation of a new file(s).
Trigger Name
Description
- Select SFTP checkbox if the FTP Server specified in the Host Name field is is an FTP Server over SSH.Check the FTP Over TLS/SSL (FTPS) checkbox, SSL.
- Select the key manager from the Key Manager drop-down list.
Select FTPS checkbox if the FTP Server
,specified in the Host Name
field isis an FTP Server over TLS/SSL.
In case you have selected FTP Over TLS/SSL (FTPS) checkbox, then select the FTPSSelect the mode from the FTPS
Mode drop-down list. It can be Explicit or Implicit depending on FTP Server
you are accessing.
Select the protection level supported by the FTP Server
from
the Protection Level drop-down list. This drop-down list has the following three options:
- None
- Clear
- Private
By default, the option None is selected.
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
.
Info When Validate option is unchecked, it always accepts the certificate sent by FTPS Server. When this option is checked, it validates the certificate sent by FTPS server against the certificate imported in Keystore.
- Enter the name of file that FTP event needs Polling service needs to verify in the File Include Criteria field.
- Enter the Enter the name of the file that file event does the FTP Polling service does not need to verify in the File Exclude Criteria field. For example .txt is entered in *
For example, you have typed *.txt as a value in the File Include Criteria, but and you want following two files Gdata.txt and Gdata1.txt are file not required to be verified by the FTP Polling Service. Then , then Gdata.txt and Gdata1.txt file name need to be entered separated by a comma in in the File Exclude Criteria field. You can also use regular expressions listed in Table 2to specify more than one file in the File Include Criteria and File Exclude Criteria. Enter the path of file in the File Base Location. Example c:/Gmdata.
You can also use regular expression for folders in File Include Criteria and File Exclude Criteria fields. For example, if you enter h*/*.txt in File Include Criteria field and C:/Gmdata in File Base Location field, it will search for all .txt file inside all directories which starts from h under C:\Gmdata.
Enter the time interval, the FTP Polling Service will check for the arrival of any file or modification of existing file in the Polling Frequency field. Enter digit in the Frequency field and select the unit of time i.e. seconds, minutes or hours etc. from the dropdown list Duration.
Info We recommended minimum Polling Frequency to be more than 60 seconds. - Enter the file stable time in the File Stable Time field. This is applicable only when user selects On FileModified in trigger type. Polling will wait for the above specified time to become a file stable.
Enter the expiry time in the Expiry Time field. After expiry time process flow does not poll for the file.For information on Advanced Properties, refer to Changing Advanced Properties.
When a FTP polling service is used in a process flow, it creates a Polling Status activity variable. For more information, refer to Polling Status.
Expand the Advanced Properties section to view the advanced properties. .
- Select the Project from Project drop-down list.
- The Connector
- lists the APIs
- to connect to the FTP Server.
For any new
service, by
default Apache Camel is selected.
The options of the Connector drop-down list changes as per your selection of the protocols
to use to establish the FTP connection.
Protocol
Options
NativeFTP
FTP
Apache Camel
NATIVE
Secured Inet Factory (Deprecated)SFTP
Apache Camel
J2SCH (VFS)
Secured Inet Factory (Deprecated)
J2SSHFTPS
Apache Camel
J2SCH (VFS)
Secured Inet Factory (Deprecated)Protocol
Options
Enter the additional configuration details in the Add On Configurations text box. This field is available only if you have selected Apache Camel connector.
If you want to create a log file of your FTP
service then check the Verbose check box.
Note You can enable the Verbose check box only if you have selected the Secure Inet Factory or Apache Camel option from the Connector field. When you select the Verbose check box using Secure Inet Factory option, the log file is created
within …ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\
logs\
ftplogs folder. Whenever you execute this activity, a separate log file is created with the name <ActivityName_MM-dd-yyyy hh-mm-ss.S>.
Here:
ActivityName isWhere, ActivityName is the name of the FTP
activity for which the log file is created.
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
- Click Save.
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Live Search | ||||||
---|---|---|---|---|---|---|
|
You may be interested in... |
What's new
Best practices
Training guides
Frequently asked questions
Adeptia
security reportborderStyle | solid |
---|---|
title | See also |
Creating Database Polling Activity
Creating File Polling Activity
Creating Mail Polling Activity
Best practices