
Component Family |
Internet/FTP |
|
Function |
tFTPRename renames the selected |
|
Purpose |
tFTPRename renames files on an |
|
Basic settings |
Property type |
Either Built-in or Repository. Since version 5.6, both the Built-In mode and the Repository mode are |
|
|
Built-in: No property data stored |
|
|
Repository: Select the Repository |
|
Use an existing connection/Component List |
Select this check box and in the Component List click the |
|
Host |
FTP IP address. |
|
Port |
FTP server listening port number. |
|
Username |
Connection login to the FTP server. |
|
Password |
Connection password to the FTP server. 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 |
|
|
Overwrite file |
List of available options for the transferred file.
Append: Select this check box to |
|
SFTPSupport/ Authentication method |
Select this check box and then in the Authentication method list, select the SFTP
Password: Type in the password
Public key: Type in the private key Note If you select Public Key as |
|
Files |
Click the [+] button to add the
Filemask: enter the filename or
New name: name to give to the FTP |
|
Connection Mode |
Select the SFTP connection mode you want to use:
Active: You determine the
Passive: the FTP server determines |
|
Encoding type |
Select an encoding type from the list, or select Custom and define it manually. This field |
|
Die on error |
This check box is selected by default. Clear the check box to skip |
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 |
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 Talend Studio |
|
Usage |
This component is generally used as a subjob with one component, |
|
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html. |
|
Limitation |
Due to license incompatibility, one or more JARs required to use this component are not |
This scenario renames a file on the FTP server via tFTPRename. Before the renaming, the file on the FTP server is shown
below:

-
Drop tFTPConnection and tFTPRename from the Palette onto the design workspace.
-
Link tFTPConnection to tFTPRename using the OnSubjobOk trigger.
-
Double-click tFTPConnection to open its
Basic settings view. -
In the Host and Port fields, enter the connection details.
-
In the Username and Password fields, enter the authentication details.
-
Double-click tFTPRename to open its
Basic settings view. -
Select the Use an existing connection
check box and then select tFTPConnection_1
from the Component List. -
In the Remote directory field, enter the
directory on the FTP server where the file exists. Clear the Move to the current directory check box. -
In the Files table, click the [+] button to add a line.
-
In the Filemask column, enter the
existing file name. -
In the New name column, enter the new
file name.
For a related scenario, see Scenario: Putting files on a remote FTP server .