Quote:
Originally Posted by
spirit10
Hi,
I tried the above code but it is still not finding the file at the directory..This is the output I get
* Unix file permissions may prevent an accurate summation of reported data.
/abc*: No such file or directory
Hi,
This code worked and is able to identify files starting with abc
(I had made a mistake wid one of the variables while using your code earlier)
So now it is correctly identifying the presence of file..just one small thing
It gives the correct message when file exists, but when it does not exist the following default msg is displayed
* Unix file permissions may prevent an accurate summation of reported data.
landingpath/abc*: No such file or directory
instead of our message which should display
File '$src_filename1' was not found or has not a size greater than zero"
---------- Post updated at 05:39 AM ---------- Previous update was at 05:38 AM ----------
Quote:
Originally Posted by
mirni
I believe you need execute permissions on the dir to perform tests on files inside. You have both r and x perms, so that's ok.
Please see my previous post and look at your test file abc<>. It's not empty, or?
Filesize is greater than zero. Can u see my latest post..