Question
The Update operation of FTP connector generated a permission error and could not write, but the script execution did not error. What is the reason for this?
Answer
In FTP connector, when Update operation is started and an error other than a network failure occurs during file update, the error content is output to log at WARN log level and the process continues thereafter. The reason for this behavior is that the Update operation can upload multiple files at the same time, so that subsequent file transfers are executed even when there are files that failed to be transferred.
If you want to make the script execution itself an error in the event of a permission error, the "status" attribute of the file in which the error occurs is set to NG, so error handling is possible by having the Conditional Branch operation determine the value of the attribute.
Comments
0 comments
Article is closed for comments.