in reply to
Net::FTP $ftp->ascii;
To chmod a file, you should use the site() command:
$ftp->site("CHMOD 644 yourfile.txt");
[download]
Comment on
Re: Net::FTP $ftp->ascii;
Download
Code
Replies are listed 'Best First'.
Re: Re: Net::FTP $ftp->ascii;
by
waswas-fng
(Curate)
on Nov 14, 2003 at 21:34 UTC
Alas many (most) ftp servers do not allow site commands anymore YMMV.
-Waswas
[reply]
In Section
Seekers of Perl Wisdom