Subject: | Bug with hidden files for the command LIST |
Date: | Sat, 17 Jan 2015 14:28:54 +0300 |
To: | bug-libnet@rt.cpan.org |
From: | Алексей Клячин <aklyachin@beget.ru> |
Hello.
For example, function 'dir' does not return a sometimes hidden files.
You need to use 'LIST -a'
zeus : / [0] # gitt diff 6a2c22f /usr/share/perl/5.10.1/Net/FTP.pm
diff --git a/usr/share/perl/5.10.1/Net/FTP.pm b/usr/share/perl/5.10.1/Net/FTP.pm
index 6afafaa..1773917 100644
--- a/usr/share/perl/5.10.1/Net/FTP.pm
+++ b/usr/share/perl/5.10.1/Net/FTP.pm
@@ -905,7 +905,7 @@ sub _eprt {
sub ls { shift->_list_cmd("NLST", @_); }
-sub dir { shift->_list_cmd("LIST", @_); }
+sub dir { shift->_list_cmd("LIST -a", @_); }
sub pasv {
How quickly
bug will be fixed?
For example, function 'dir' does not return a sometimes hidden files.
You need to use 'LIST -a'
zeus : / [0] # gitt diff 6a2c22f /usr/share/perl/5.10.1/Net/FTP.pm
diff --git a/usr/share/perl/5.10.1/Net/FTP.pm b/usr/share/perl/5.10.1/Net/FTP.pm
index 6afafaa..1773917 100644
--- a/usr/share/perl/5.10.1/Net/FTP.pm
+++ b/usr/share/perl/5.10.1/Net/FTP.pm
@@ -905,7 +905,7 @@ sub _eprt {
sub ls { shift->_list_cmd("NLST", @_); }
-sub dir { shift->_list_cmd("LIST", @_); }
+sub dir { shift->_list_cmd("LIST -a", @_); }
sub pasv {
-- С Уважением, Алексей Клячин, Системный администратор ООО "Бегет" Site: http://beget.ru Email: support@beget.ru ICQ: 580278701 Skype: beget_support Phone: +7 (812) 385-41-36 (СПб) +7 (495) 721-80-88 (Москва) 8 (800) 700-06-08 (Бесплатно по всей России) +380 (44) 300-02-18 (Киев) 0 (800) 802-192 (Бесплатно по всей Украине)