For information about using variables, refer to "variables".
| Item name | Required / Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not Available | Enter the name on the script canvas. |
| Item name | Required / Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Destination | Required | Not Available | Select Global Resources.
Refer to "the global resource properties" to set up a global resource.
|
|
| Path | Required | - | The path.
Each column can be operated with the following buttons.
|
|
| Path / Remote path | Required | Available | Enter file/directory on the FTP server with absolute path beginning from "/". |
|
| Path / Local path | Required | Available | Enter the absolute path name beginning with "/" (slash)on the FTP client (DataSpiderServer). |
|
| Path / Data type | Required | Not available | Select the data type.
|
| Item name | Required / Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Directory option | Required | Not available | Select the directory when updating data.
|
|
| Date option | Required | Not available | Select whether to include date information.
|
|
| Check for updates when transfer files | Optional | Not available | Select whether to check to update check when transferring files to a remote file.
|
|
| Criteria for updating | Required | Not available | Select the condition when updating the 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 | Host name of connected FTP server | ||
| port | Port number of connected FTP server | ||
| user | User name to connect to the server | ||
| pathnames | - | ||
| pathname | - | Emerge accordingly to the received file/directory. | |
| date | Get the last modified date of files. The output format is yyyyMMddHHmmss. Example: "20071016131522" means 1:15 pm and 22 seconds on October 16, 2007. |
|
|
| filetype | Outputs the file type of received file/directory.
|
||
| local | Outputs the absolute path on DataSpider file system of the received file/directory. | ||
| remote | Outputs the absolute path on FTP server of the received file/directory. | ||
| size | Size of retrieved filesThe unit is byte. |
|
|
| status | Download status
|
||
| type | Data Types
|
|
See "Edit Schema" for details with regards to defining a schema.
| Component variable name | Description | Remarks |
|---|---|---|
| count | Stores numbers of the loaded file/directory. |
|
| directory_count | The number of directory retrieved returns. |
|
| file_count | The number of files retrieved returns. |
|
| message_category | Stroes the category to which corresponding message code belongs to, when an error occurs. |
|
| 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 | Returns the error type when error occurred. |
|
| error_message | Return the error message when error occurred. |
|
| error_trace | Return trace information when error occurred. |
|
| Exception name | Causes | Solution |
|---|---|---|
| ResourceNotFoundException Resource definition could not be found.Name: [] |
[Destination] is not specified. | Please specify [Destination] . |
| ResourceNotFoundException Resource definition could not be found.Name: [<name of Global Resources>] |
Resource definition selected in [Destination] is not found. | Please check the global resource specified in [Destination] |
| RemoteFileListParseException Failed analyze the list of remote files. The encoding specified may be incorrect. |
Failed analyze the list of remote files. | Ensure the [Encoding] specified in [Destination] and the FTP server settings are correct. |
| FTPException | Exception if any error returned by the FTP server. | Check the contents of the message. |
| com.enterprisedt.net.ftp.FTPException | Exception if any error returned by the FTP server. | Check the contents of the message. |
| java.net.UnknownHostException | Exception if FTP server is not found. | Please check your FTP server configuration. |
| java.net.ConnectException | Exception if can not Connect to FTP Server. | Check if port number or FTP is running. |
Shift-JIS character code in parentheses .