Browse Source

add list metod

main
ghost 1 year ago
parent
commit
c160549cf5
  1. 5
      library/ftp.php

5
library/ftp.php

@ -84,6 +84,11 @@ class Ftp {
return false; return false;
} }
public function list(string $path) {
return ftp_nlist($this->_connection, $path);
}
public function close() { public function close() {
return ftp_close($this->_connection); return ftp_close($this->_connection);

Loading…
Cancel
Save