Delete
Operation name
Delete
Function overview
Deletes the specified files in FTP server.
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 a file path or a directory path of FTP server. |
|
Delete settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Directory option |
Required |
Not available |
Select how to handle directories when deleting data.
|
|
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 file/directory to be deleted. |
|
date |
Always outputs empty data. |
|
|
filetype |
Outputs the file type of the file/directory to be deleted.
|
|
|
local |
Always outputs empty data. |
|
|
remote |
Outputs the absolute path in the FTP server of the file/directory to be deleted. |
|
|
size |
Outputs the file size of the file to be deleted. The unit is byte. Note
It's empty data in the case of directory. |
|
|
status |
Outputs the deletion status.
|
|
|
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.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of files/directories to be deleted is stored. |
|
directory_count |
The number of directories to be deleted is stored. |
|
file_count |
The number of files to be deleted 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 |
---|---|---|---|