Symptom
SFTP job failed with “No file from FTP server matched this file name pattern: sftpxx.successfactors.com”.=>Job would read file named “InputFileTest_20231030*.csv” which would end with “*”
Error Log like below:
Job execution is Skipped. Full exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: No file from FTP server matched this file name pattern: sftp10.successfactors.com
Error: No file from FTP server matched this file name pattern: InputFileTest_20231030*.csv
Caused by: com.successfactors.jobscheduler.app.ftp.FtpFileNotFoundException: No file from FTP server matched this file name pattern: InputFileTest_20231030*.csv
Environment
SAP SuccessFactors HCM suite
Reproducing the Issue
- Run SFTP job to read file in Provisioning or Integration Center
- SFTP job failed with “No file from FTP server matched this file name pattern: sftpxx.successfactors.com”.
Cause
The * is a wildcard added by backend, like "InputFileTest_20231030*.csv" can match "InputFileTest_2023103001.csv" or "InputFileTest_2023103002.csv" or "InputFileTest_20231030.csv".
System will detect any filename that starts with 'InputFileTest_20231030' in CSV format.
Resolution
It should be caused by input file "InputFileTest_20231030.csv" does not exist in SFTP server.
Please ensure that the input file is at the respective SFTP folder before the job execution time.
Note: If you have more than one file starting with InputFileTest_20231030.csv, the system identifies the most recently added file as the one to process. This behavior is expected. If you need to ensure that a specific file is loaded instead, you need to add the second file only after the job has run.
Keywords
SFTP job, No file from FTP server matched this file name pattern, INC7415091 , KBA , LOD-SF-PLT-JOBS , Scheduled Jobs , Problem
SAP Knowledge Base Article - Public