Hello Experts,
I am new to the Streamsets. I am doing POC on SFTP origin component. My requirement is moving or copying the files between directories in SFTP and valid file should be copied into S3.
we are having the following directory structure.
- Parent Directory name (By department) and it has the following sub directories
- Ready
- InProgress
- Reject
- Finish
Step1: Users will upload the file into Ready folder. File processing pipe line should check whether do we have file in the ready folder. If it is available move or copy the file into “InProgess” otherwise finish the pipeline
Step2: If file available in ready, it should move or copy to “INProgress”, during the copying the files into S3 in case of any errors files should be moved to Reject directory.
Step3: If no errors file should copy into S3 and move the file from InProgress to Finish directory and finish the pipe file.