Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name to show on the script canvas. |
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Destination | Required | Not available | Select a global resource.
For more details on Global Resource settings, refer to "Global Resource Properties".
|
|
Path | Required | - | Specify a path.
Each column can be operated with the following button.
|
|
Path/path before renaming | Required | Available | Enter file/directory on FTP server with the absolute path starting with "/". |
|
Path/path after renaming | Required | Available | Enter file/directory after renaming on the FTP server using the absolute path starting from "/". |
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Do not rename if file/directory after renaming already exists | Optional | Not available | Select whether to deny renaming if file/directory specified in [Path/path after renaming] already exists.
|
|
Create, if parent directory does not exist | Optional | Not available | Select whether to automatically create, if parent directory specified in [Path/path after renaming] does not exist.
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
<?xml version="1.0"?> <ftpserver name="" port="" user=""> <pathnames> <pathname date="" filetype="" local="" remote="" size="" status="" type=""/> </pathnames> </ftpserver>
Element name | Attribute name | Description | Remarks |
---|---|---|---|
ftpserver | - | ||
name | Outputs host name of the connected FTP server. | ||
port | Outputs port number of the connected FTP server. | ||
user | Outputs user name used when connecting to FTP server. | ||
pathnames | - | ||
pathname | - | Emerges accordingly to rename targeted file/directory. | |
date | Always outputs empty data. | ||
filetype | Outputs file type of rename targeted file/directory.
|
||
local | Always outputs empty data. | ||
remote | Outputs the absolute path after renaming on the FTP server of rename targeted file/directory. | ||
size | Always outputs empty data. | ||
status | Outputs rename condition.
|
||
type | Always outputs empty data. |
Component variable name | Description | Remarks |
---|---|---|
count | Stores the numbers of rename targeted file/directory. |
|
directory_count | Stores the numbers of rename targeted directory. |
|
file_count | Stores the numbers of rename targeted file. |
|
message_category | Stores the category of message code corresponding to the occured error. |
|
message_code | Stores its corresponding message code of occured error. |
|
message_level | Stores the severity of the corresponding message code of the occured error. |
|
error_type | When an error occurs, the class of error will be stored. |
|
error_message | Returns the error message when error occurred. |
|
error_trace | Returns trace information when error occurred. |
|
Exception name | Cause | Measure |
---|---|---|
ResourceNotFoundException Resource definition cannot be found.name:[] |
[Destination] is not specified. | Specify [Destination]. |
ResourceNotFoundException Resource definition cannot be found. Name:[<Global resource name>] |
Selected resource definition in [Destination] cannot be found. | Confirm the global resource specified in [Destination]. |
RemoteFileListParseException Failed to analyze the remote file list. The encode may not be valid. |
Failed to analyze the remote file list. | Confirm [Encode] set in [Destination] or FTP server setting. |
MalformedRemotePathException Path before renaming is false. Enter the path before renaming with absolute path starting from "/". |
[Path before renaming] is not beginning from "/. | Enter [Path before renaming] with absolute path beginning from "/. |
MalformedRemotePathException Path after renaming is false. Enter the path after renaming with absolute path starting from "/". |
[Path after renaming] is not beginning from "/. | Enter [Path after renaming] with absolute path beginning from "/. |
FTPException | Exception in case FTP server returns error. | Confirm message contents. |
com.enterprisedt.net.ftp.FTPException | Exception in case FTP server returns error. | Confirm message contents. |
java.net.UnknownHostException | Exception in case the specified FTP server cannot be found. | Confirm FTP server setting. |
java.net.ConnectException | Exception in case you cannot connect to FTP server. | Confirm that port number or FTP server is running. |