in reply to -s testing for empty file; works on local, but not on remote
If it works locally, but not remotely, and you are sure the files and directories are indeed there, then it's most likely a permissions issue - ie. the remote user does not have the correct permissions to read that file or directory. This is simple to test; as the user you are running the script, run from a terminal:
$ ls -l /home/vcg/Documents/Trial/temp
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: -s testing for empty file; works on local, but not on remote
by Jeri (Scribe) on Sep 27, 2011 at 13:00 UTC |
In Section
Seekers of Perl Wisdom