Hi,

Much to my surprise, when I run this code, it never returns 0 if it could not
carry out the operation.

  $rc = $f->site("chmod 666 $remoteFile") 
      or die "ftp: Could not change permissions: $!\n";

It seems to return a 2 on success, and a 5 if it could not access the file
because of a different owner.

My question is, what return code can I rely on?  I need to be sure the
permissions were set to '666'.

Any suggestions?  This is a emergency "quick fix".

Thanks in advance....

-Jeff

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to