mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-08 22:07:56 +00:00
add list metod
This commit is contained in:
parent
712d67f6bf
commit
c160549cf5
@ -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…
Reference in New Issue
Block a user