How to archive a file which exceeds the max restriction file size in SFTP adapter
we have a requirement to process files below 500 MB and if there are any files above 500 MB then an error should be triggered and eventually the file should be archived.
Based on the above requirement, error is getting triggered but not able to archive the file using standard methods of archiving.
If we check maximum file size restriction and mention the size as 524288000 Bytes
and also check error when restricted option then,
whenever a file exceeds this limit the channel goes into error state.
Please provide a solution to archive such files from the directory as and when the channel goes into error state due to the large files.