Gerard's Perl Page
Index
Home
About
Old News
Contribute



Portfolio
metamail
rifle
ubh
whatpix
ydecode

Links
use Perl;
Perl Monks
www.perl.com
ActiveState
CPAN
Perl User Groups
Perl Mongers
Powered By Perl
Template Toolkit
Emacs

chmod with Net::FTP
by gerard on Mon Apr 17 00:00:00 PDT 2000

Net::FTP does not directly support a chmod() method. Not all servers support CHMOD. If your particular server happens to support it, you can execute a CHMOD using the quot() method:

    $ftp->quot("SITE", "CHMOD", $mode, $fileName);
Extra special thanks to Krishna Kirti for posting this [1] to comp.lang.perl.misc.