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
Reproducing the Issue
1.Run SFTP job to read file in Provisioning or Integration Center
2.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.
Keywords
SFTP job, No file from FTP server matched this file name pattern, INC7415091 , KBA , LOD-SF-PLT-JOBS , Scheduled Jobs , Problem