diff options
Diffstat (limited to 'Net/FTP.pm')
-rw-r--r-- | Net/FTP.pm | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |