in reply to Net::FTP $ftp->ascii;

To chmod a file, you should use the site() command:

$ftp->site("CHMOD 644 yourfile.txt");

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