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.
![]()
|
|
Path | Required | - | Specify paths.
Each column can be operated with the following buttons.
|
|
Path/Remote path | Required | Available | Enter the file/directory in the FTP server with an absolute path starting with “/”. |
|
Path/Local path | Required | Available | Enter a directory path of DataSpider File System. |
|
Path/Data type | Required | Not available | Select data type.
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Directory option | Required | Not available | Select directory handling when updating data.
|
|
Date option | Required | Not available | Select whether or not to include date information.
|
|
Append | Optional | Not available | Select whether or not to append when the file exists.
|
|
Check for update when transferring file | Optional | Not available | Select whether or not to check for updates of remote files when transferring files.
|
|
Criteria for updating | Required | Not available | Select criteria for updating files.
|
|
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 the host name of the connected FTP server. | ||
port | Outputs the port number of the connected FTP server. | ||
user | Outputs the user name used when connecting to FTP server. | ||
pathnames | - | ||
pathname | - | Appears for each file/directory to be updated. | |
date | Outputs the last updated date and time of the file in yyyyMMddHHmmss format. Example: “20071016131522” shows October 16, 2007 13:15:22. |
|
|
filetype | Outputs the file type.
|
||
local | Outputs the absolute path in the DataSpider File System of the file/directory. | ||
remote | Outputs the absolute path in the FTP server of the file/directory. | ||
size | Outputs the file size. Unit is byte. |
|
|
status | Outputs the upload status.
|
||
type | Outputs the data type.
|
|
Component variable name | Description | Remarks |
---|---|---|
count | The number of files/directories to be updated is stored. |
|
directory_count | The number of directories to be updated is stored. |
|
file_count | The number of files to be updated is stored. |
|
message_category | When an error occurs, the corresponding message code's category is stored. |
|
message_code | When an error occurs, the corresponding message code is stored. |
|
message_level | When an error occurs, the corresponding message code's severity is stored. |
|
error_type | When an error occurs, the error type is stored. |
|
error_message | When an error occurs, the error message is stored. |
|
error_trace | When an error occurs, the error's trace information is stored. |
|
Exception name | Cause | Solution |
---|---|---|
ResourceNotFoundException Resource definition is not found. Name: [] |
[Destination] is not specified. | Specify [Destination]. |
ResourceNotFoundException Resource definition is not found. Name: [<global resource name>] |
The resource definition selected in [Destination] is not found. | Check the global resource specified in [Destination]. |
RemoteFileListParseException Failed to parse the remote file list. The encoding may be incorrect. |
Failed to parse the remote file list. | Check the settings of [Encoding] selected in [Destination] and the settings of FTP server. |
FTPException | This is an exception raised when FTP server returns some error. | Check the contents of the message. |
com.enterprisedt.net.ftp.FTPException | This is an exception raised when FTP server returns some error. | Check the contents of the message. |
java.io.FileNotFoundException | The path specified in [Local path] does not exist. | Check [Local path]. |
java.net.UnknownHostException | This is an exception raised when the specified FTP server is not found. | Check the FTP server settings. |
java.net.ConnectException | This is an exception raised when unable to connect to FTP server. | Check whether the port number is correct and the FTP server is running. |