happyboy1024 opened a new issue, #8892: URL: https://github.com/apache/seatunnel/issues/8892
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened When using Ftp Source, I found that I wanted to use the `file_filter_pattern` option to filter the read files, but this option does not work in all cases. When 'file_filter_pattern' contains translation symbols such as '\\', it will not match the target file correctly. ### SeaTunnel Version 2.3.9 ### SeaTunnel Config ```conf env { job.name="file" job.mode="BATCH" parallelism=1 } source { FtpFile { host="xxxxxx" port="xx" user="ftpuser" password="xxxxxx" path="/file" file_filter_pattern = ".*\\.csv" skip_header_row_number=1 file_format_type="csv" read_columns=["user_name","user_id"] schema={ fields={ user_id="int" user_name="string" } } } } sink { Console { } } ``` ### Running Command ```shell ./seatunnel.sh -c config/xxx.conf ``` ### Error Exception ```log no exception ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org