tFTPTruncate
directory.
tFTPTruncate Standard properties
These properties are used to configure tFTPTruncate running in the Standard Job framework.
The Standard
tFTPTruncate component belongs to the Internet family.
The component in this framework is generally available.
Basic settings
Property Type |
Either Built-in or Repository. |
|
Built-in: No property data stored |
|
Repository: Select the Repository |
Use an existing connection/Component List |
Select this check box and in the Component |
Host |
FTP IP address. |
Port |
Listening port number of the FTP server. |
Username and Password |
User authentication information. To enter the password, click the […] button next to the |
Remote directory |
Path to the remote directory. |
Move to the current directory |
This option appears when Use an existing |
SFTP Support |
Select this check box to connect to the FTP server via an SFTP connection. The following
Authentication method: Select the SFTP authentication
method, either Public key or Password.
Filename encoding: Select this check box to set the
encoding used to convert file names from Strings to bytes. It should be the same encoding used on the SFTP server. Note:
If the SFTP server’s version is greater than 3, the encoding should be UTF-8, or |
Use Perl5 Regex Expression as Filemask |
Select this check box if you want to use Perl5 regular expressions For information about Perl5 regular expression syntax, see Perl5 Regular Expression Syntax. |
Files |
Click the plus button to add the lines you want to use as filters:
Filemask: enter the filename or |
Connection Mode |
Select the SFTP connection mode you want to use:
Active: You determine the
Passive: the FTP server determines |
Encoding |
Select an encoding type from the list, or select Custom and define it manually. This field |
Advanced settings
Use Socks Proxy |
Select this check box if you want to use a proxy. Then, set the |
Ignore Failure At Quit (FTP) |
Select this check box to ignore library closing errors or FTP |
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a |
Global Variables
Global Variables |
ERROR_MESSAGE: the error message generated by the
NB_FILE: the number of files processed. This is an After
CURRENT_STATUS: the execution result of the component. A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component is typically used as a single-component sub-job but |
Limitation |
Due to license incompatibility, one or more JARs required to use this component are not |
Related scenario
For a related scenario, see Scenario: Putting files onto an FTP server.