Re: Using Net::FTP for chmod (help needed ASAP)

2003-11-15 Thread Rob Dixon
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]

Re: Using Net::FTP for chmod (help needed ASAP)

2003-11-14 Thread Jeff Westman
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

Re: Using Net::FTP for chmod (help needed ASAP)

2003-11-14 Thread Wiggins d Anconia
> 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

Using Net::FTP for chmod (help needed ASAP)

2003-11-14 Thread Jeff Westman
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