From: | "Simont, Jason C" <jason.simont [...] eds.com> |
To: | "'Graham Barr'" <gbarr [...] pobox.com> |
Subject: | Perl net::ftp, rmdir - possible bug |
Date: | Wed, 5 Jun 2002 14:26:29 +1000 |
Graham,
I have found net::ftp very useful thanks.
I suspect that the rmdir method s not returning the expected values (ie true
or undef).
No matter what I do in the following scenario, I get a "didn't work" message
even if the directory was succsessfully removed.
I am using an Activestate 5.6.1 installation of Perl on WinNT.
if ($ftp->rmdir('/some/directory/')) {
$msg = "did work";
} else {
$msg = "didn't work";
}
I hope that this input is constructive.
Regards,
Jason Simont