...
For such a file transfer and processing workflow, JobScheduler have has inbuilt JITL jobs, namlly namely JADE job and SSH job.
Job Chain : FileTransferAndProcessing.job_chain.xml
...
Step 2: start_proccessing_ssh.job.xml
Jade Job :
...
jade_s2s_file_transfer.job.xml
This job is an JITL job