Skip Menu |
 

This queue is for tickets about the Net-FTPServer CPAN distribution.

Report information
The Basics
Id: 3337
Status: resolved
Priority: 0/
Queue: Net-FTPServer

People
Owner: ryochin [...] cpan.org
Requestors: SCOTT [...] cpan.org
Cc:
AdminCc:

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



Subject: Can not remove directories
Download (untitled) / with headers
text/plain 463b
The Package Net::FTPServer::Full::DirHandler does not allow directory deletion in the latest version on CPAN. It is just a missing '_' Here it is fixed. sub delete { my $self = shift; # Darwin / Mac OS X cannot delete a directory with a trailing "/", so # remove it first (thanks Luis Mun\~oz for fixing this). my $path = $self->{_pathname}; $path =~ s,/+$,, if $path ne "/"; rmdir $path or return -1; return 0; } Scott
(fixed in former release)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.