Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


script returns exit code 0 when No file matching

Script is in place to ftp the file if the pattern of the file is matched.

When there is no file aswell the script exits with exit code 0

Script: No file matching '*.zip' found.
Script: exit
Script: Exit code: 0
Disconnected from server

Can we the exit code be changed to 1 or any other code if the file is not found.