If you use the JobSchedulerFTPReceive job in a job chain, then you have often the situation that the successor job wants to know which files have been transferred successfully.
The documentation of the JobSchedulerFTPReceive.xml job describes that the job generates the parameter ftp_result_filenames and ftp_result_filepaths where the successfully transferred files are listed.
Unfortunately, this feature is buggy. Both parameters are always empty.
You can insert the JobSchedulerExistsFile job as first successor job into the job chain.
Job Chain: ftpReceive.job_chain.xml
The parameter ftp_atomic_suffix is set with "~".
Only successfully transferred files are renamed at the target to its original filename without the "~" at the end.
The file_spec parameter of the check looks for all files without a "~" at the end.