Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 711
Status: resolved
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: jason.simont [...] eds.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Date: Wed, 5 Jun 2002 10:31:59 +0100
From: Graham Barr <gbarr [...] pobox.com>
To: "Simont, Jason C via RT" <bug-libnet [...] rt.cpan.org>
Subject: Re: [cpan #711] Perl net::ftp, rmdir - possible bug
Do you have the latest libnet installed libnet-1.12 contains Net::FTP 2.65 What do you see with debug turned on ? Graham. On Wed, Jun 05, 2002 at 05:04:06AM -0400, Simont, Jason C via RT wrote: Show quoted text
> > > This message about libnet was sent to you by jason.simont@eds.com via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=711 > > > 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 >
From: Jason Simont
No I hadn't installed the latest version. Updating fixed the problem - thanks [gbarr@pobox.com - Wed Jun 5 05:35:03 2002]: Show quoted text
> Do you have the latest libnet installed libnet-1.12 contains Net::FTP > 2.65 > > What do you see with debug turned on ? > > Graham. > > On Wed, Jun 05, 2002 at 05:04:06AM -0400, Simont, Jason C via RT > wrote:
> > > > > > This message about libnet was sent to you by jason.simont@eds.com
> via rt.cpan.org
> > > > Full context and any attached attachments can be found at: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=711 > > > > > 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 > >
>