I have a small script to read from a directory in which files are going to copied to a specific folder. My script will read from the file and check whether we have received all the files that have been successfully copied.
As soon as all the files are received the next set of jobs are triggered, which process those files.
I am using the normal Input
operator to read the file:
if(open(FILE,abc.txt))
print "it opened \n";
} else {
print "it did not open \n";
}
The above method didn't work and also the read write (+<
) didn't work. Why?