Something like this should help out:
$ftp->delete($filename) or die $ftp->message();
message() is inherited from Net::Cmd and it returns the text message returned from the last command.
In reply to Re: Net::FTP and $ftp->delete
by Mr. Muskrat
in thread Net::FTP and $ftp->delete
by Genghis_Khan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |