Error Message: no such file: no such file

Error Message: no such file: no such file

Action:
When I run the package SFTP with action "Receive files" and in the remote destination the folder is missing or is empty, I receive the error "no such file: no such file"
Error Message:
'no such file: no such file'
Solution:

We provide a reusable script called 'Script FTP File Exists Task' that can check if remote file exists or not. This script is a JavaScript that can be used in conjunction with the COZYROC JavaScript Task.