Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: -s testing for empty file; works on local, but not on remote

by onelesd (Pilgrim)
on Sep 26, 2011 at 21:04 UTC ( #927949=note: print w/replies, xml ) Need Help??


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

    Thanks for the advice, however, I don't think that is the case since I'm creating the temp file in the program. I'm going to look into it just to be sure.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://927949]
help
Chatterbox?
[muthusathish]: i dont have the environment too, but i need to get the logics so that i can re-wite
[Eily]: what makes you think your dll is "perl based" ?
[muthusathish]: i dont have source code too
[muthusathish]: it is used in VB 6 appln, while debugging is getting error
[hippo]: Somebody has. Ask the author.
[Eily]: muthusathish ok, the fact that you can't tell what perl has to do with it proves it: this is not perl

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2018-02-23 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (301 votes). Check out past polls.

    Notices?