about summary refs log tree commit
path: root/Net/FTP.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Net/FTP.pm')
-rw-r--r--Net/FTP.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Net/FTP.pm b/Net/FTP.pm
index ca8f085..e0a275e 100644
--- a/Net/FTP.pm
+++ b/Net/FTP.pm
@@ -858,6 +858,9 @@ sub supported {
   return $hash->{$cmd}
     if exists $hash->{$cmd};
 
+  return $hash->{$cmd} = 1
+    if $ftp->feature($cmd);
+
   return $hash->{$cmd} = 0
     unless $ftp->_HELP($cmd);