Read List
Operation name
Read List
Function overview
Gets a list of files.
Data model
The data model of this component is XML type.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Destination |
Required |
Not available |
Select a connection resource.
|
|
Path |
Required |
- |
Specify paths. Each row 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 "/". |
|
Read settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Directory option |
Required |
Not available |
Select how to handle directories when getting data.
|
|
Date option |
Required |
Not available |
Select whether or not to include date information.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Input schema
None.
Output schema
<?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 once for each obtained file/directory. |
|
date |
Outputs the last updated date and time of the obtained file in yyyyMMddHHmmss format. Example: "20071016131522" shows October 16, 2007 13:15:22. |
Note
|
|
filetype |
Outputs the file type of the obtained file/directory.
|
|
|
local |
Always outputs empty data. |
|
|
remote |
Outputs the absolute path in the FTP server of the obtained file/directory. |
|
|
size |
Outputs the file size of the obtained file. The unit is byte. |
Note
It's empty data in the case of directory. |
|
status |
Always outputs empty data. |
|
|
type |
Always outputs empty data. |
|
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of read files/directories is stored. |
|
directory_count |
The number of read directories is stored. |
|
file_count |
The number of read files is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error 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 trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|