Jeff Westman wrote:
>
> Subject: Using Net::FTP for chmod (help needed ASAP)
Jeff.
This isn't a pitstop. It's a place for 'beginners' to learn.
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Wiggins d Anconia <[EMAIL PROTECTED]> wrote:
>
>
> > 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";
> >
> > I
> 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
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 di