Subject: | MLST is broken |
MLST commands do not work.
in FTPServer.pm, _MLST_command(), dir() is called on a filehandle
object. $self->{cwd} is a dir handle.
attached patch fixes the problem.
Subject: | mlst_patch.txt |
--- FTPServer.pm 2007-06-19 12:59:47.610741000 +0100
+++ FTPServer.pm.hack 2007-06-19 12:59:09.967037000 +0100
@@ -6741,8 +6741,8 @@
# If not file name is given, then we need to return
# status on the current directory. Else we return
# status on the file or directory name given.
- my $fileh = $self->{cwd};
- my $dirh = $fileh->dir;
+ my $dirh = $self->{cwd};
+ my $fileh;
my $filename = ".";
if ($rest ne "")